public class SpriteHolderRegistry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SpriteHolderRegistry.SpriteHolder
Holds a reference to a
TextureAtlasSprite that is automatically refreshed when the resource packs are
reloaded. |
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG |
Constructor and Description |
---|
SpriteHolderRegistry() |
Modifier and Type | Method and Description |
---|---|
static void |
exportTextureMap() |
static SpriteHolderRegistry.SpriteHolder |
getHolder(net.minecraft.util.ResourceLocation location) |
static SpriteHolderRegistry.SpriteHolder |
getHolder(java.lang.String location) |
static void |
onTextureStitchPost() |
static void |
onTextureStitchPre(net.minecraft.client.renderer.texture.TextureMap map) |
public static SpriteHolderRegistry.SpriteHolder getHolder(net.minecraft.util.ResourceLocation location)
public static SpriteHolderRegistry.SpriteHolder getHolder(java.lang.String location)
public static void onTextureStitchPre(net.minecraft.client.renderer.texture.TextureMap map)
public static void exportTextureMap()
public static void onTextureStitchPost()