Package net.minecraftforge.client.event
Class TextureStitchEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.TextureStitchEvent
net.minecraftforge.client.event.TextureStitchEvent.Pre
- All Implemented Interfaces:
IModBusEvent
- Enclosing class:
- TextureStitchEvent
Fired when the TextureMap is told to refresh it's stitched texture.
Called before the
TextureAtlasSprite
are loaded.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.TextureStitchEvent
TextureStitchEvent.Post, TextureStitchEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addSprite
(ResourceLocation sprite) Add a sprite to be stitched into the Texture Atlas.Methods inherited from class net.minecraftforge.client.event.TextureStitchEvent
getMap
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
sprites
-
-
Constructor Details
-
Pre
-
-
Method Details
-
addSprite
Add a sprite to be stitched into the Texture Atlas.
-