public class TextureManager extends java.lang.Object implements ITickable, IResourceManagerReloadListener
Constructor and Description |
---|
TextureManager(IResourceManager p_i1284_1_) |
Modifier and Type | Method and Description |
---|---|
void |
bindTexture(ResourceLocation resource) |
void |
deleteTexture(ResourceLocation textureLocation) |
ResourceLocation |
getDynamicTextureLocation(java.lang.String p_110578_1_,
DynamicTexture p_110578_2_) |
ITextureObject |
getTexture(ResourceLocation textureLocation) |
boolean |
loadTexture(ResourceLocation textureLocation,
ITextureObject p_110579_2_) |
boolean |
loadTickableTexture(ResourceLocation textureLocation,
ITickableTextureObject p_110580_2_) |
void |
onResourceManagerReload(IResourceManager resourceManager) |
void |
tick() |
public TextureManager(IResourceManager p_i1284_1_)
public void bindTexture(ResourceLocation resource)
public boolean loadTickableTexture(ResourceLocation textureLocation, ITickableTextureObject p_110580_2_)
public boolean loadTexture(ResourceLocation textureLocation, ITextureObject p_110579_2_)
public ITextureObject getTexture(ResourceLocation textureLocation)
public ResourceLocation getDynamicTextureLocation(java.lang.String p_110578_1_, DynamicTexture p_110578_2_)
public void deleteTexture(ResourceLocation textureLocation)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener