类 TextureAtlasHolder
java.lang.Object
net.minecraft.client.resources.TextureAtlasHolder
- 所有已实现的接口:
AutoCloseable
,PreparableReloadListener
public abstract class TextureAtlasHolder
extends Object
implements PreparableReloadListener, AutoCloseable
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
字段概要
字段 -
构造器概要
构造器构造器说明TextureAtlasHolder
(TextureManager pTextureManager, ResourceLocation pLocation, ResourceLocation pAtlasInfoLocation) -
方法概要
修饰符和类型方法说明private void
apply
(SpriteLoader.Preparations pPreparations, ProfilerFiller pProfiler) void
close()
protected TextureAtlasSprite
getSprite
(ResourceLocation pLocation) final CompletableFuture<Void>
reload
(PreparableReloadListener.PreparationBarrier pPreparationBarrier, ResourceManager pResourceManager, ProfilerFiller pPreparationsProfiler, ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
字段详细资料
-
textureAtlas
-
atlasInfoLocation
-
-
构造器详细资料
-
TextureAtlasHolder
public TextureAtlasHolder(TextureManager pTextureManager, ResourceLocation pLocation, ResourceLocation pAtlasInfoLocation)
-
-
方法详细资料
-
getSprite
-
reload
public final CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier pPreparationBarrier, ResourceManager pResourceManager, ProfilerFiller pPreparationsProfiler, ProfilerFiller pReloadProfiler, Executor pBackgroundExecutor, Executor pGameExecutor) - 指定者:
reload
在接口中PreparableReloadListener
-
apply
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
-