Interface TextureStitchEvent.Pre
- Enclosing interface:
- TextureStitchEvent
@Environment(CLIENT)
public static interface TextureStitchEvent.Pre
-
Method Summary
-
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'sTextureStitchEvent.Pre
event.- Parameters:
atlas
- The TextureAtlas.spriteAdder
- A consumer where you can add your own sprites to be stitched.
-