Package com.pixelmonmod.pixelmon.client
Class ClientProxy
java.lang.Object
com.pixelmonmod.pixelmon.client.ClientProxy
Client-side initialization helper methods.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ActionKeyThe keybind for targeting a Pokémon.static ClientPixelmonKeyMappingstatic ClientPixelmonKeyMappingstatic ClientPixelmonKeyMappingstatic ClientPixelmonKeyMappingstatic ClientPixelmonKeyMappingstatic ClientPixelmonKeyMappingstatic ClientBattleManagerThe battle manager for the client.static BattleNumberedKey[]Key binds that allow a user to use their keyboard/controller to input their choices during battles.static ClientPixelmonKeyMappingstatic ClientPixelmonKeyMappingstatic ClientPixelmonKeyMappingstatic CameraEntityThe player's camera.static ChooseMoveSkillKeyThe keybind for opening the move skill screen.static final DayCareKeystatic final intstatic ClientPixelmonKeyMappingThe pc options keybindings.static ClientPixelmonKeyMappingThe pc options keybindings.static ClientPixelmonKeyMappingThe pc options keybindings.static ClientPixelmonKeyMappingThe pc options keybindings.static ClientPixelmonKeyMappingThe pc options keybindings.static ClientPixelmonKeyMappingThe pc options keybindings.static final PokeDexKeystatic final ResearchKeystatic final SendPokemonKeystatic SpectateKeyThe keybind for requesting to spectate a battlestatic final PixelmonKeyMappingstatic ClientPixelmonKeyMappingThe keybind for toggling the player's POV in battle.static ClientPixelmonKeyMappingThe keybind for turning on or off the rendering of the battle UI.static TrainerCardKeyThe keybind for opening the Trainer Card.static UseMoveSkillKeyThe keybind for using a move skill.static WikiKeyThe keybind for opening the Wiki. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddBlockEntityWithoutLevelRenderers(net.neoforged.neoforge.client.extensions.common.RegisterClientExtensionsEvent event) static voidaddLayers(net.neoforged.neoforge.client.event.EntityRenderersEvent.AddLayers event) static voidaddPokemonRenderers(net.neoforged.neoforge.client.event.EntityRenderersEvent.RegisterRenderers event) Initializes renderers for Pokémon and NPCs.static net.minecraft.client.gui.screens.ScreencreateScreen(net.minecraft.world.entity.player.Player player, EnumGuiScreen gui, int[] data) static FileGets the Minecraft directory.getMoveSkills(Pokemon pokemon) static PixelmonRichPresencestatic List<net.minecraft.server.packs.resources.IoSupplier<InputStream>> getStandardIcons(net.minecraft.server.packs.PackResources resources) static ExpandingTutorialToastgetToast()static voidinit(net.neoforged.fml.event.lifecycle.FMLClientSetupEvent event) static voidonClientLoaded(net.neoforged.fml.event.lifecycle.FMLClientSetupEvent event) static voidonColourBlockEvent(net.neoforged.neoforge.client.event.RegisterColorHandlersEvent.Block event) static voidonModelBakeEvent(net.neoforged.neoforge.client.event.ModelEvent.ModifyBakingResult event) Registers orb texture renderers.static voidonModelRegister(net.neoforged.neoforge.client.event.ModelEvent.RegisterAdditional event) static voidonTileEntityRendererRegister(net.neoforged.neoforge.client.event.EntityRenderersEvent.RegisterRenderers event) static voidregisterKeyBindings(net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event) static voidstatic voidstatic booleanresourceLocationExists(net.minecraft.resources.ResourceLocation resourceLocation) static voidsetIcon(com.mojang.blaze3d.platform.Window window, net.minecraft.server.packs.PackResources resources, com.mojang.blaze3d.platform.IconSet iconSet)
-
Field Details
-
SEND_POKEMON_KEY
-
RESEARCH_KEY
-
DAY_CARE_KEY
-
POKEDEX_KEY
-
defaultTexUnit
public static final int defaultTexUnit- See Also:
-
battleManager
The battle manager for the client. -
moveSkills
-
camera
The player's camera. -
actionKeyBind
The keybind for targeting a Pokémon. -
useMoveSkillKeyBind
The keybind for using a move skill. -
chooseMoveSkillKey
The keybind for opening the move skill screen. -
trainerCardKeyBind
The keybind for opening the Trainer Card. -
wikiKeyBind
The keybind for opening the Wiki. -
spectateKeyBind
The keybind for requesting to spectate a battle -
pcSearchKeyBind
The pc options keybindings. -
pcRenameKeyBind
The pc options keybindings. -
pcWallpaperKeyBind
The pc options keybindings. -
pcModeKeyBind
The pc options keybindings. -
pcSwapScreenKeyBind
The pc options keybindings. -
pcSortKeyBind
The pc options keybindings. -
toggleBattlePerspectiveKeyBind
The keybind for toggling the player's POV in battle. -
toggleBattleUserInterfaceKeyBind
The keybind for turning on or off the rendering of the battle UI. -
TOGGLE_FREE_TO_MOVE_IN_BATTLE_KEY_BIND
-
battleNumberedKeys
Key binds that allow a user to use their keyboard/controller to input their choices during battles. -
battleAcceptKeyBind
-
battleAttackGimmickKeyBind
-
battleBagKeyBind
-
battleDownKeyBind
-
battleFleeKeyBind
-
battleLeftKeyBind
-
battlePokemonTeamKeyBind
-
battleRightKeyBind
-
battleUpKeyBind
-
-
Constructor Details
-
ClientProxy
public ClientProxy()
-
-
Method Details
-
init
public static void init(net.neoforged.fml.event.lifecycle.FMLClientSetupEvent event) -
registerRenderers
public static void registerRenderers() -
addLayers
public static void addLayers(net.neoforged.neoforge.client.event.EntityRenderersEvent.AddLayers event) -
onModelBakeEvent
public static void onModelBakeEvent(net.neoforged.neoforge.client.event.ModelEvent.ModifyBakingResult event) Registers orb texture renderers.- Parameters:
event- The bake event that called this method.
-
onModelRegister
public static void onModelRegister(net.neoforged.neoforge.client.event.ModelEvent.RegisterAdditional event) -
onTileEntityRendererRegister
public static void onTileEntityRendererRegister(net.neoforged.neoforge.client.event.EntityRenderersEvent.RegisterRenderers event) -
onColourBlockEvent
public static void onColourBlockEvent(net.neoforged.neoforge.client.event.RegisterColorHandlersEvent.Block event) -
registerKeyBindings
public static void registerKeyBindings(net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent event) -
addPokemonRenderers
public static void addPokemonRenderers(net.neoforged.neoforge.client.event.EntityRenderersEvent.RegisterRenderers event) Initializes renderers for Pokémon and NPCs. -
addBlockEntityWithoutLevelRenderers
public static void addBlockEntityWithoutLevelRenderers(net.neoforged.neoforge.client.extensions.common.RegisterClientExtensionsEvent event) -
createScreen
public static net.minecraft.client.gui.screens.Screen createScreen(net.minecraft.world.entity.player.Player player, EnumGuiScreen gui, int[] data) -
getMinecraftDir
Gets the Minecraft directory.- Returns:
- The Minecraft directory as a file.
-
registerTickHandlers
public static void registerTickHandlers() -
resourceLocationExists
public static boolean resourceLocationExists(net.minecraft.resources.ResourceLocation resourceLocation) -
getMoveSkills
-
getRichPresence
-
getToast
-
onClientLoaded
public static void onClientLoaded(net.neoforged.fml.event.lifecycle.FMLClientSetupEvent event) -
setIcon
public static void setIcon(com.mojang.blaze3d.platform.Window window, net.minecraft.server.packs.PackResources resources, com.mojang.blaze3d.platform.IconSet iconSet) throws IOException - Throws:
IOException
-
getStandardIcons
public static List<net.minecraft.server.packs.resources.IoSupplier<InputStream>> getStandardIcons(net.minecraft.server.packs.PackResources resources) throws IOException - Throws:
IOException
-