Package net.minecraft.client.resources
Class TextureAtlasHolder
java.lang.Object
net.minecraft.client.resources.TextureAtlasHolder
- All Implemented Interfaces:
 AutoCloseable,PreparableReloadListener
- Direct Known Subclasses:
 GuiSpriteManager,MobEffectTextureManager,PaintingTextureManager
public abstract class TextureAtlasHolder
extends Object
implements PreparableReloadListener, AutoCloseable
- 
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ResourceLocationprivate final Set<MetadataSectionSerializer<?>>protected final TextureAtlas - 
Constructor Summary
ConstructorsConstructorDescriptionTextureAtlasHolder(TextureManager p_262057_, ResourceLocation p_261554_, ResourceLocation p_262147_) TextureAtlasHolder(TextureManager p_294921_, ResourceLocation p_295514_, ResourceLocation p_294920_, Set<MetadataSectionSerializer<?>> p_295003_)  - 
Method Summary
Modifier and TypeMethodDescriptionprivate voidapply(SpriteLoader.Preparations p_252333_, ProfilerFiller p_250624_) voidclose()protected TextureAtlasSpritegetSprite(ResourceLocation p_118902_) final CompletableFuture<Void>reload(PreparableReloadListener.PreparationBarrier p_249641_, ResourceManager p_250036_, ProfilerFiller p_249806_, ProfilerFiller p_250732_, Executor p_249427_, Executor p_250510_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName 
- 
Field Details
- 
textureAtlas
 - 
atlasInfoLocation
 - 
metadataSections
 
 - 
 - 
Constructor Details
- 
TextureAtlasHolder
public TextureAtlasHolder(TextureManager p_262057_, ResourceLocation p_261554_, ResourceLocation p_262147_)  - 
TextureAtlasHolder
public TextureAtlasHolder(TextureManager p_294921_, ResourceLocation p_295514_, ResourceLocation p_294920_, Set<MetadataSectionSerializer<?>> p_295003_)  
 - 
 - 
Method Details
- 
getSprite
 - 
reload
public final CompletableFuture<Void> reload(PreparableReloadListener.PreparationBarrier p_249641_, ResourceManager p_250036_, ProfilerFiller p_249806_, ProfilerFiller p_250732_, Executor p_249427_, Executor p_250510_) - Specified by:
 reloadin interfacePreparableReloadListener
 - 
apply
 - 
close
public void close()- Specified by:
 closein interfaceAutoCloseable
 
 -