public class TextureManagerForestry extends java.lang.Object implements ITextureManager
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.ResourceLocation |
LOCATION_FORESTRY_TEXTURE |
| Modifier and Type | Method and Description |
|---|---|
void |
bindGuiTextureMap() |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getDefault(java.lang.String identifier)
Get a texture atlas sprite that has been registered by Forestry, for Forestry's Gui Texture Map.
|
net.minecraft.util.ResourceLocation |
getGuiTextureMap()
Location of the Forestry Gui Texture Map.
|
static TextureManagerForestry |
getInstance() |
TextureMapForestry |
getTextureMap() |
static void |
initDefaultSprites() |
void |
registerBlock(net.minecraft.block.Block block) |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
registerGuiSprite(net.minecraft.util.ResourceLocation location)
Register a sprite with Forestry's Gui Texture Map.
|
void |
registerItem(net.minecraft.item.Item item) |
static net.minecraft.client.renderer.texture.TextureAtlasSprite |
registerSprite(net.minecraft.util.ResourceLocation location) |
void |
registerSprites() |
public static final net.minecraft.util.ResourceLocation LOCATION_FORESTRY_TEXTURE
public static TextureManagerForestry getInstance()
public TextureMapForestry getTextureMap()
public static void initDefaultSprites()
public static net.minecraft.client.renderer.texture.TextureAtlasSprite registerSprite(net.minecraft.util.ResourceLocation location)
public net.minecraft.client.renderer.texture.TextureAtlasSprite getDefault(java.lang.String identifier)
ITextureManagergetDefault in interface ITextureManagerpublic net.minecraft.util.ResourceLocation getGuiTextureMap()
ITextureManagerTextureManager.bindTexture(ResourceLocation)getGuiTextureMap in interface ITextureManagerpublic void bindGuiTextureMap()
public net.minecraft.client.renderer.texture.TextureAtlasSprite registerGuiSprite(net.minecraft.util.ResourceLocation location)
ITextureManagerregisterGuiSprite in interface ITextureManagerpublic void registerBlock(net.minecraft.block.Block block)
public void registerItem(net.minecraft.item.Item item)
public void registerSprites()