Class TextureManager
java.lang.Object
net.minecraft.client.renderer.texture.TextureManager
- All Implemented Interfaces:
AutoCloseable
,ITickable
,IFutureReloadListener
public class TextureManager
extends Object
implements IFutureReloadListener, ITickable, AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListener
IFutureReloadListener.IStage
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Texture> static final ResourceLocation
private static final org.apache.logging.log4j.Logger
private final IResourceManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
_bind
(ResourceLocation p_229269_1_) void
bind
(ResourceLocation p_110577_1_) void
close()
private static void
getTexture
(ResourceLocation p_229267_1_) private Texture
loadTexture
(ResourceLocation p_230183_1_, Texture p_230183_2_) preload
(ResourceLocation p_215268_1_, Executor p_215268_2_) register
(String p_110578_1_, DynamicTexture p_110578_2_) void
register
(ResourceLocation p_229263_1_, Texture p_229263_2_) void
release
(ResourceLocation p_147645_1_) reload
(IFutureReloadListener.IStage p_215226_1_, IResourceManager p_215226_2_, IProfiler p_215226_3_, IProfiler p_215226_4_, Executor p_215226_5_, Executor p_215226_6_) private void
safeClose
(ResourceLocation p_243505_1_, Texture p_243505_2_) void
tick()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resources.IFutureReloadListener
getName
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
INTENTIONAL_MISSING_TEXTURE
-
byPath
-
tickableTextures
-
prefixRegister
-
resourceManager
-
-
Constructor Details
-
TextureManager
-
-
Method Details
-
bind
-
_bind
-
register
-
safeClose
-
loadTexture
-
getTexture
-
register
-
preload
-
execute
-
tick
public void tick() -
release
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
reload
public CompletableFuture<Void> reload(IFutureReloadListener.IStage p_215226_1_, IResourceManager p_215226_2_, IProfiler p_215226_3_, IProfiler p_215226_4_, Executor p_215226_5_, Executor p_215226_6_) - Specified by:
reload
in interfaceIFutureReloadListener
-