Class TextureAtlasStitchedEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.TextureAtlasStitchedEvent
- All Implemented Interfaces:
net.neoforged.fml.event.IModBusEvent
public class TextureAtlasStitchedEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.fml.event.IModBusEvent
Fired after a texture atlas is stitched together and all textures therein have been loaded.
This event is not cancellable, and does not
.invalid reference
have a result
This event is fired on the mod-specific event bus, only on the logical client.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final net.minecraft.client.renderer.texture.TextureAtlas
-
Constructor Summary
ConstructorsConstructorDescriptionTextureAtlasStitchedEvent
(net.minecraft.client.renderer.texture.TextureAtlas atlas) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.renderer.texture.TextureAtlas
getAtlas()
Returns the texture atlas.
-
Field Details
-
atlas
private final net.minecraft.client.renderer.texture.TextureAtlas atlas
-
-
Constructor Details
-
TextureAtlasStitchedEvent
@Internal public TextureAtlasStitchedEvent(net.minecraft.client.renderer.texture.TextureAtlas atlas)
-
-
Method Details
-
getAtlas
public net.minecraft.client.renderer.texture.TextureAtlas getAtlas()Returns the texture atlas.- Returns:
- the texture atlas
-