Class ClientProxy

java.lang.Object
com.pixelmonmod.pixelmon.client.ClientProxy

public class ClientProxy extends Object
Client-side initialization helper methods.
  • Field Details

  • 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

      public static File 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

      public static List<MoveSkill> getMoveSkills(Pokemon pokemon)
    • getRichPresence

      public static PixelmonRichPresence getRichPresence()
    • getToast

      public static ExpandingTutorialToast 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