public class ClientProxy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ActionKey |
actionKeyBind
The keybind for targeting a Pokémon.
|
static ClientBattleManager |
battleManager
The battle manager for the client.
|
static CameraEntity |
camera
The player's camera.
|
static ChooseMoveSkillKey |
chooseMoveSkillKey
The keybind for opening the move skill screen.
|
static TradePair |
currentTradePair |
static int |
defaultTexUnit |
static int |
lightmapTexUnit |
static java.util.ArrayList<MoveSkill> |
moveSkills |
static net.minecraft.client.settings.KeyBinding |
pcRenameKeyBind
The pc options keybindings.
|
static net.minecraft.client.settings.KeyBinding |
pcSearchKeyBind
The pc options keybindings.
|
static net.minecraft.client.settings.KeyBinding |
pcWallpaperKeyBind
The pc options keybindings.
|
static boolean |
playerHasTradeRequestPokemon |
static PokedexKey |
pokedexKeyBind
The keybind for opening the Pokédex.
|
static QuestCycleKey |
questCycleKeyBind
The keybind for cycling the displayed quest
|
static QuestJournalKey |
questJournalKeyBind
The keybind for opening the quest journal
|
static SendPokemonKey |
SEND_POKEMON_KEY |
static SpectateKey |
spectateKeyBind
The keybind for requesting to spectate a battle
|
static TrainerCardKey |
trainerCardKeyBind
The keybind for opening the Trainer Card.
|
static UseMoveSkillKey |
useMoveSkillKeyBind
The keybind for using a move skill.
|
static WikiKey |
wikiKeyBind
The keybind for opening the Wiki.
|
Constructor and Description |
---|
ClientProxy() |
Modifier and Type | Method and Description |
---|---|
static net.minecraft.util.ResourceLocation |
bindPlayerTexture(java.lang.String username)
Binds a player's skin to the player.
|
static net.minecraft.client.gui.screen.Screen |
createScreen(net.minecraft.entity.player.PlayerEntity player,
EnumGuiScreen gui,
int[] data) |
static java.io.File |
getMinecraftDir()
Gets the Minecraft directory.
|
static java.util.ArrayList<MoveSkill> |
getMoveSkills(Pokemon pokemon) |
static PixelmonRichPresence |
getRichPresence() |
static java.io.BufferedInputStream |
getStreamForResourceLocation(net.minecraft.util.ResourceLocation resourceLocation) |
static ExpandingTutorialToast |
getToast() |
static void |
init(net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent event) |
static void |
onColourBlockEvent(net.minecraftforge.client.event.ColorHandlerEvent.Block event) |
void |
onDimensionChange(net.minecraftforge.event.entity.player.PlayerEvent.PlayerChangedDimensionEvent event)
Cleans up battles when the player changes dimension.
|
static void |
onModelBakeEvent(net.minecraftforge.client.event.ModelBakeEvent event)
Registers orb texture renderers.
|
static void |
onModelRegister(net.minecraftforge.client.event.ModelRegistryEvent event) |
void |
onPreClientTick(net.minecraftforge.event.TickEvent.ClientTickEvent event) |
void |
onWorldLoad(net.minecraftforge.event.world.WorldEvent.Load event)
Resets the client-side Pokémon storage.
|
void |
onWorldUnload(net.minecraftforge.event.world.WorldEvent.Unload event)
Unfreezes Pokémon in the world.
|
static void |
registerKeyBindings() |
static void |
registerRenderers() |
static void |
registerTickHandlers() |
static boolean |
resourceLocationExists(net.minecraft.util.ResourceLocation resourceLocation) |
static void |
scheduleNextTick(java.util.concurrent.Callable<?> callable) |
static void |
spawnBoostedTreeParticles(net.minecraft.world.World worldObj,
int x,
int y,
int z,
int stage) |
static void |
spawnParticle(EnumBreedingParticles particle,
net.minecraft.world.World worldObj,
double posX,
double posY,
double posZ,
PaletteProperties paletteProperties) |
static void |
spawnParticle(EnumPixelmonParticles particle,
net.minecraft.client.world.ClientWorld worldObj,
double posX,
double posY,
double posZ,
boolean isShiny)
Spawns a particle in the world.
|
static void |
stitcherEventPre(net.minecraftforge.client.event.TextureStitchEvent.Pre event)
Stitches orb textures.
|
public static final SendPokemonKey SEND_POKEMON_KEY
public static final int defaultTexUnit
public static final int lightmapTexUnit
public static ClientBattleManager battleManager
public static java.util.ArrayList<MoveSkill> moveSkills
public static TradePair currentTradePair
public static boolean playerHasTradeRequestPokemon
public static CameraEntity camera
public static ActionKey actionKeyBind
public static UseMoveSkillKey useMoveSkillKeyBind
public static ChooseMoveSkillKey chooseMoveSkillKey
public static PokedexKey pokedexKeyBind
public static TrainerCardKey trainerCardKeyBind
public static WikiKey wikiKeyBind
public static SpectateKey spectateKeyBind
public static QuestJournalKey questJournalKeyBind
public static QuestCycleKey questCycleKeyBind
public static net.minecraft.client.settings.KeyBinding pcSearchKeyBind
public static net.minecraft.client.settings.KeyBinding pcRenameKeyBind
public static net.minecraft.client.settings.KeyBinding pcWallpaperKeyBind
public static void init(net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent event)
public static void registerRenderers()
public static void onModelBakeEvent(net.minecraftforge.client.event.ModelBakeEvent event)
event
- The bake event that called this method.public static void onModelRegister(net.minecraftforge.client.event.ModelRegistryEvent event)
public static void onColourBlockEvent(net.minecraftforge.client.event.ColorHandlerEvent.Block event)
public static void stitcherEventPre(net.minecraftforge.client.event.TextureStitchEvent.Pre event)
event
- The texture stitching event that called this method.public static void registerKeyBindings()
public static net.minecraft.client.gui.screen.Screen createScreen(net.minecraft.entity.player.PlayerEntity player, EnumGuiScreen gui, int[] data)
public static java.io.File getMinecraftDir()
public void onWorldLoad(net.minecraftforge.event.world.WorldEvent.Load event)
event
- The load event that called this method.public void onDimensionChange(net.minecraftforge.event.entity.player.PlayerEvent.PlayerChangedDimensionEvent event)
event
- The change dimension event that called this method.public void onWorldUnload(net.minecraftforge.event.world.WorldEvent.Unload event)
event
- The unload event that called this method.public void onPreClientTick(net.minecraftforge.event.TickEvent.ClientTickEvent event)
public static void spawnParticle(EnumPixelmonParticles particle, net.minecraft.client.world.ClientWorld worldObj, double posX, double posY, double posZ, boolean isShiny)
particle
- The particle to spawn.worldObj
- The world to spawn the particle in.posX
- The x coordinate of the particle.posY
- The y coordinate of the particle.posZ
- The z coordinate of the particle.isShiny
- Whether the Pokémon is Shiny.public static void spawnParticle(EnumBreedingParticles particle, net.minecraft.world.World worldObj, double posX, double posY, double posZ, PaletteProperties paletteProperties)
public static void registerTickHandlers()
public static net.minecraft.util.ResourceLocation bindPlayerTexture(java.lang.String username)
username
- The player's username.public static boolean resourceLocationExists(net.minecraft.util.ResourceLocation resourceLocation)
public static java.io.BufferedInputStream getStreamForResourceLocation(net.minecraft.util.ResourceLocation resourceLocation)
public static void scheduleNextTick(java.util.concurrent.Callable<?> callable)
public static void spawnBoostedTreeParticles(net.minecraft.world.World worldObj, int x, int y, int z, int stage)
public static PixelmonRichPresence getRichPresence()
public static ExpandingTutorialToast getToast()