Class PreloadedTexture
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.SimpleTexture
net.minecraft.client.renderer.texture.PreloadedTexture
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.texture.SimpleTexture
SimpleTexture.TextureImage
-
Field Summary
FieldsFields inherited from class net.minecraft.client.renderer.texture.SimpleTexture
location, LOGGER
Fields inherited from class net.minecraft.client.renderer.texture.AbstractTexture
blur, id, mipmap, NOT_ASSIGNED
-
Constructor Summary
ConstructorsConstructorDescriptionPreloadedTexture
(ResourceManager resourceManager, ResourceLocation location, Executor backgroundExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Executor
protected SimpleTexture.TextureImage
getTextureImage
(ResourceManager resourceManager) void
reset
(TextureManager textureManager, ResourceManager resourceManager, ResourceLocation resourceLocation, Executor p_executor) Methods inherited from class net.minecraft.client.renderer.texture.SimpleTexture
load
Methods inherited from class net.minecraft.client.renderer.texture.AbstractTexture
bind, close, getId, releaseId, restoreLastBlurMipmap, setBlurMipmap, setFilter
-
Field Details
-
future
-
-
Constructor Details
-
PreloadedTexture
public PreloadedTexture(ResourceManager resourceManager, ResourceLocation location, Executor backgroundExecutor)
-
-
Method Details
-
getTextureImage
- Overrides:
getTextureImage
in classSimpleTexture
-
getFuture
-
reset
public void reset(TextureManager textureManager, ResourceManager resourceManager, ResourceLocation resourceLocation, Executor p_executor) - Overrides:
reset
in classAbstractTexture
-
executor
-