Class TextureManager
java.lang.Object
net.minecraft.client.renderer.texture.TextureManager
- All Implemented Interfaces:
- AutoCloseable,- Tickable,- PreparableReloadListener
public class TextureManager
extends Object
implements PreparableReloadListener, Tickable, AutoCloseable
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenerPreparableReloadListener.PreparationBarrier
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Map<ResourceLocation,AbstractTexture> static final ResourceLocationprivate static final org.slf4j.Loggerprivate final ResourceManager
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate void_bind(ResourceLocation p_118520_) private void_dumpAllSheets(Path p_276128_) voidbindForSetup(ResourceLocation p_174785_) voidclose()voiddumpAllSheets(Path p_276129_) private static voidgetTexture(ResourceLocation p_118507_) getTexture(ResourceLocation p_174787_, AbstractTexture p_174788_) private AbstractTextureloadTexture(ResourceLocation p_118516_, AbstractTexture p_118517_) preload(ResourceLocation p_118502_, Executor p_118503_) register(String p_118491_, DynamicTexture p_118492_) voidregister(ResourceLocation p_118496_, AbstractTexture p_118497_) voidrelease(ResourceLocation p_118514_) reload(PreparableReloadListener.PreparationBarrier p_118476_, ResourceManager p_118477_, ProfilerFiller p_118478_, ProfilerFiller p_118479_, Executor p_118480_, Executor p_118481_) private voidsafeClose(ResourceLocation p_118509_, AbstractTexture p_118510_) voidtick()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListenergetName
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
INTENTIONAL_MISSING_TEXTURE
- 
byPath
- 
tickableTextures
- 
prefixRegister
- 
resourceManager
 
- 
- 
Constructor Details- 
TextureManager
 
- 
- 
Method Details- 
bindForSetup
- 
_bind
- 
register
- 
safeClose
- 
loadTexture
- 
getTexture
- 
getTexture
- 
register
- 
preload
- 
execute
- 
tickpublic void tick()
- 
release
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
- 
reloadpublic CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier p_118476_, ResourceManager p_118477_, ProfilerFiller p_118478_, ProfilerFiller p_118479_, Executor p_118480_, Executor p_118481_) - Specified by:
- reloadin interface- PreparableReloadListener
 
- 
dumpAllSheets
- 
_dumpAllSheets
 
-