Class LoadingPokemonModifier

java.lang.Object
com.pixelmonmod.pixelmon.client.gui.override.load.LoadingPokemonModifier
All Implemented Interfaces:
ScreenModifier
Direct Known Subclasses:
ServerConnectModifier, WorldLoadModifier

public abstract class LoadingPokemonModifier extends Object implements ScreenModifier
  • Constructor Details

    • LoadingPokemonModifier

      public LoadingPokemonModifier()
  • Method Details

    • onPreRender

      public void onPreRender(net.minecraftforge.client.event.ScreenEvent.Init.Post event)
      Specified by:
      onPreRender in interface ScreenModifier
    • onBackgroundDraw

      public void onBackgroundDraw(net.minecraftforge.client.event.ScreenEvent.BackgroundRendered event)
      Specified by:
      onBackgroundDraw in interface ScreenModifier
    • getSprite

      public static net.minecraft.resources.ResourceLocation getSprite()
      Used to grab a sprite from a list of Sprite resource locations.
      Returns:
      - The resource location of a sprite in the currently selected generation.
    • getRandomAnyGenSprite

      public static net.minecraft.resources.ResourceLocation getRandomAnyGenSprite()
      Used to grab a sprite from a list of Sprite resource locations.
      Returns:
      - The resource location of a sprite in the currently selected generation.