类 TextureManager
java.lang.Object
net.minecraft.client.renderer.texture.TextureManager
- 所有已实现的接口:
AutoCloseable
,Tickable
,PreparableReloadListener
public class TextureManager
extends Object
implements PreparableReloadListener, Tickable, AutoCloseable
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
字段概要
字段修饰符和类型字段说明private final Map<ResourceLocation,
AbstractTexture> static final ResourceLocation
private static final org.slf4j.Logger
private final ResourceManager
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
_bind
(ResourceLocation pPath) private void
_dumpAllSheets
(Path pPath) void
bindForSetup
(ResourceLocation pPath) void
close()
void
dumpAllSheets
(Path pPath) private static void
getTexture
(ResourceLocation pPath) getTexture
(ResourceLocation pPath, AbstractTexture pDefaultTexture) private AbstractTexture
loadTexture
(ResourceLocation pPath, AbstractTexture pTexture) preload
(ResourceLocation pPath, Executor pBackgroundExecutor) register
(String pName, DynamicTexture pTexture) void
register
(ResourceLocation pPath, AbstractTexture pTexture) void
release
(ResourceLocation pPath) reload
(PreparableReloadListener.PreparationBarrier pStage, ResourceManager pResourceManager, ProfilerFiller pPreparationsProfiler, ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor) private void
safeClose
(ResourceLocation p_118509_, AbstractTexture p_118510_) void
tick()
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
INTENTIONAL_MISSING_TEXTURE
-
byPath
-
tickableTextures
-
prefixRegister
-
resourceManager
-
-
构造器详细资料
-
TextureManager
-
-
方法详细资料
-
bindForSetup
-
_bind
-
register
-
safeClose
-
loadTexture
-
getTexture
-
getTexture
-
register
-
preload
-
execute
-
tick
public void tick() -
release
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
-
reload
public CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier pStage, ResourceManager pResourceManager, ProfilerFiller pPreparationsProfiler, ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor) - 指定者:
reload
在接口中PreparableReloadListener
-
dumpAllSheets
-
_dumpAllSheets
-