Interface TextureStitchEvent.Pre

Enclosing interface:
TextureStitchEvent

@Environment(CLIENT) public static interface TextureStitchEvent.Pre
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stitch(net.minecraft.client.renderer.texture.TextureAtlas atlas, Consumer<net.minecraft.resources.ResourceLocation> spriteAdder)
    Invoked before the texture atlas is stitched together.
  • Method Details

    • stitch

      void stitch(net.minecraft.client.renderer.texture.TextureAtlas atlas, Consumer<net.minecraft.resources.ResourceLocation> spriteAdder)
      Invoked before the texture atlas is stitched together. Equivalent to Forge's TextureStitchEvent.Pre event.
      Parameters:
      atlas - The TextureAtlas.
      spriteAdder - A consumer where you can add your own sprites to be stitched.