Class Texture
java.lang.Object
net.minecraft.client.renderer.texture.Texture
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
AtlasTexture
,DynamicTexture
,FontTexture
,SimpleTexture
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected int
private boolean
private boolean
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind()
void
close()
int
getId()
abstract void
load
(IResourceManager p_195413_1_) void
void
reset
(TextureManager p_215244_1_, IResourceManager p_215244_2_, ResourceLocation p_215244_3_, Executor p_215244_4_) void
void
setBlurMipmap
(boolean blur, boolean mipmap) void
setFilter
(boolean p_174937_1_, boolean p_174937_2_)
-
Field Details
-
id
protected int id -
blur
protected boolean blur -
mipmap
protected boolean mipmap -
lastBlur
private boolean lastBlur -
lastMipmap
private boolean lastMipmap
-
-
Constructor Details
-
Texture
public Texture()
-
-
Method Details
-
setFilter
public void setFilter(boolean p_174937_1_, boolean p_174937_2_) -
setBlurMipmap
public void setBlurMipmap(boolean blur, boolean mipmap) -
restoreLastBlurMipmap
public void restoreLastBlurMipmap() -
getId
public int getId() -
releaseId
public void releaseId() -
load
- Throws:
IOException
-
bind
public void bind() -
reset
public void reset(TextureManager p_215244_1_, IResourceManager p_215244_2_, ResourceLocation p_215244_3_, Executor p_215244_4_) -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-