Class LoadingPokemonModifier
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.override.load.LoadingPokemonModifier
- All Implemented Interfaces:
ScreenModifier
- Direct Known Subclasses:
ServerConnectModifier
,WorldLoadModifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.resources.ResourceLocation
Used to grab a sprite from a list of Sprite resource locations.static net.minecraft.resources.ResourceLocation
Used to grab a sprite from a list of Sprite resource locations.void
onBackgroundDraw
(net.minecraftforge.client.event.ScreenEvent.BackgroundRendered event) void
onPreRender
(net.minecraftforge.client.event.ScreenEvent.Init.Post event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.pixelmonmod.pixelmon.client.gui.override.ScreenModifier
getScreenClass
-
Constructor Details
-
LoadingPokemonModifier
public LoadingPokemonModifier()
-
-
Method Details
-
onPreRender
public void onPreRender(net.minecraftforge.client.event.ScreenEvent.Init.Post event) - Specified by:
onPreRender
in interfaceScreenModifier
-
onBackgroundDraw
public void onBackgroundDraw(net.minecraftforge.client.event.ScreenEvent.BackgroundRendered event) - Specified by:
onBackgroundDraw
in interfaceScreenModifier
-
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.
-