Class SimpleTexture
- java.lang.Object
-
- net.minecraft.client.renderer.texture.Texture
-
- net.minecraft.client.renderer.texture.SimpleTexture
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Direct Known Subclasses:
DownloadingTexture
,PreloadedTexture
,ResourceLoadProgressGui.MojangLogoTexture
public class SimpleTexture extends Texture
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleTexture.TextureData
-
Constructor Summary
Constructors Constructor Description SimpleTexture(ResourceLocation p_i1275_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
doLoad(NativeImage p_229207_1_, boolean p_229207_2_, boolean p_229207_3_)
protected SimpleTexture.TextureData
getTextureImage(IResourceManager p_215246_1_)
void
load(IResourceManager p_195413_1_)
-
Methods inherited from class net.minecraft.client.renderer.texture.Texture
bind, close, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
location
protected final ResourceLocation location
-
-
Constructor Detail
-
SimpleTexture
public SimpleTexture(ResourceLocation p_i1275_1_)
-
-
Method Detail
-
load
public void load(IResourceManager p_195413_1_) throws java.io.IOException
-
doLoad
private void doLoad(NativeImage p_229207_1_, boolean p_229207_2_, boolean p_229207_3_)
-
getTextureImage
protected SimpleTexture.TextureData getTextureImage(IResourceManager p_215246_1_)
-
-