类 TextureAtlasHolder
java.lang.Object
net.minecraft.client.resources.TextureAtlasHolder
- 所有已实现的接口:
AutoCloseable
,PreparableReloadListener
- 直接已知子类:
GuiSpriteManager
,MapDecorationTextureManager
,MobEffectTextureManager
,PaintingTextureManager
public abstract class TextureAtlasHolder
extends Object
implements PreparableReloadListener, AutoCloseable
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
字段概要
字段修饰符和类型字段说明private final ResourceLocation
private final Set
<MetadataSectionType<?>> protected final TextureAtlas
-
构造器概要
构造器构造器说明TextureAtlasHolder
(TextureManager p_262057_, ResourceLocation p_261554_, ResourceLocation p_262147_) TextureAtlasHolder
(TextureManager p_299844_, ResourceLocation p_299366_, ResourceLocation p_297647_, Set<MetadataSectionType<?>> p_298542_) -
方法概要
修饰符和类型方法说明private void
apply
(SpriteLoader.Preparations p_252333_) void
close()
protected TextureAtlasSprite
getSprite
(ResourceLocation p_118902_) final CompletableFuture
<Void> reload
(PreparableReloadListener.PreparationBarrier p_249641_, ResourceManager p_250036_, Executor p_249427_, Executor p_250510_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
字段详细资料
-
textureAtlas
-
atlasInfoLocation
-
metadataSections
-
-
构造器详细资料
-
TextureAtlasHolder
public TextureAtlasHolder(TextureManager p_262057_, ResourceLocation p_261554_, ResourceLocation p_262147_) -
TextureAtlasHolder
public TextureAtlasHolder(TextureManager p_299844_, ResourceLocation p_299366_, ResourceLocation p_297647_, Set<MetadataSectionType<?>> p_298542_)
-
-
方法详细资料
-
getSprite
-
reload
public final CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier p_249641_, ResourceManager p_250036_, Executor p_249427_, Executor p_250510_) - 指定者:
reload
在接口中PreparableReloadListener
-
apply
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
-