类 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
_dumpAllSheets
(Path p_276128_) void
close()
void
dumpAllSheets
(Path p_276129_) getTexture
(ResourceLocation p_118507_) private static TextureContents
loadContents
(ResourceManager p_375654_, ResourceLocation p_378136_, ReloadableTexture p_377917_) private TextureContents
loadContentsSafe
(ResourceLocation p_378160_, ReloadableTexture p_378623_) void
register
(ResourceLocation p_118496_, AbstractTexture p_118497_) void
registerAndLoad
(ResourceLocation p_377323_, ReloadableTexture p_376843_) void
registerForNextReload
(ResourceLocation p_377796_) void
release
(ResourceLocation p_118514_) reload
(PreparableReloadListener.PreparationBarrier p_118476_, ResourceManager p_118477_, Executor p_118480_, Executor p_118481_) private void
safeClose
(ResourceLocation p_118509_, AbstractTexture p_118510_) private static TextureManager.PendingReload
scheduleLoad
(ResourceManager p_377119_, ResourceLocation p_377352_, ReloadableTexture p_377978_, Executor p_376135_) 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
-
resourceManager
-
-
构造器详细资料
-
TextureManager
-
-
方法详细资料
-
registerAndLoad
-
loadContentsSafe
-
registerForNextReload
-
register
-
safeClose
-
getTexture
-
tick
public void tick() -
release
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
-
reload
public CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier p_118476_, ResourceManager p_118477_, Executor p_118480_, Executor p_118481_) - 指定者:
reload
在接口中PreparableReloadListener
-
dumpAllSheets
-
_dumpAllSheets
-
loadContents
private static TextureContents loadContents(ResourceManager p_375654_, ResourceLocation p_378136_, ReloadableTexture p_377917_) throws IOException - 抛出:
IOException
-
scheduleLoad
private static TextureManager.PendingReload scheduleLoad(ResourceManager p_377119_, ResourceLocation p_377352_, ReloadableTexture p_377978_, Executor p_376135_)
-