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:
  • TextureAtlas
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final net.minecraft.client.renderer.texture.TextureAtlas
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TextureAtlasStitchedEvent(net.minecraft.client.renderer.texture.TextureAtlas atlas)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.texture.TextureAtlas
    Returns the texture atlas.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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