Class TextureStitchEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.TextureStitchEvent
All Implemented Interfaces:
IModBusEvent
Direct Known Subclasses:
TextureStitchEvent.Post, TextureStitchEvent.Pre

public class TextureStitchEvent extends net.minecraftforge.eventbus.api.Event implements IModBusEvent
Fired before and after a texture atlas stitched together. See the two subclasses to listen for before and after stitching.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Fired after a texture atlas is stitched together and all textures therein has been loaded.
    static class 
    Fired before a texture atlas is stitched together.

    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

    Fields
    Modifier and Type
    Field
    Description
    private final TextureAtlas
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the texture atlas.

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TextureStitchEvent

      @Internal public TextureStitchEvent(TextureAtlas atlas)
  • Method Details

    • getAtlas

      public TextureAtlas getAtlas()
      Returns the texture atlas.
      Returns:
      the texture atlas