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
public static class TextureStitchEvent.Pre extends TextureStitchEvent
Fired when the TextureMap is told to refresh it's stitched texture. Called before theTextureAtlasSprite
are loaded.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.client.event.TextureStitchEvent
TextureStitchEvent.Post, TextureStitchEvent.Pre
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<ResourceLocation>
sprites
-
Constructor Summary
Constructors Constructor Description Pre(AtlasTexture map, java.util.Set<ResourceLocation> sprites)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addSprite(ResourceLocation sprite)
Add a sprite to be stitched into the Texture Atlas.-
Methods inherited from class net.minecraftforge.client.event.TextureStitchEvent
getMap
-
-
-
-
Field Detail
-
sprites
private final java.util.Set<ResourceLocation> sprites
-
-
Constructor Detail
-
Pre
public Pre(AtlasTexture map, java.util.Set<ResourceLocation> sprites)
-
-
Method Detail
-
addSprite
public boolean addSprite(ResourceLocation sprite)
Add a sprite to be stitched into the Texture Atlas.
-
-