net.minecraft.client.texture

public class AtlasManager

implements AutoCloseable, ResourceReloader, SpriteHolder

net.minecraft.client.resources.model.sprite.AtlasManager
net.minecraft.client.resources.model.sprite.AtlasManager
net.minecraft.class_11697
net.minecraft.client.texture.AtlasManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
LOGGER
field_64593
LOGGER
private static final List<AtlasManager$Metadata>
KNOWN_ATLASES
KNOWN_ATLASES
field_61862
ATLAS_METADATA
public static final ResourceReloader$Key<AtlasManager$Stitch>
PENDING_STITCH
PENDING_STITCH
field_61861
stitchKey
private final Map<Identifier, AtlasManager$Entry>
atlasByTexture
atlasByTexture
field_61939
entriesByTextureId
private final Map<Identifier, AtlasManager$Entry>
atlasById
atlasById
field_61940
entriesByDefinitionId
private Map<SpriteIdentifier, Sprite>
spriteLookup
spriteLookup
field_61864
sprites
private int
maxMipmapLevels
maxMipmapLevels
field_61865
mipmapLevels

Constructor summary

ModifierConstructor
public (TextureManager textureManager, int mipmapLevels)

Method summary

Modifier and TypeMethod
public SpriteAtlasTexture
getAtlasOrThrow(Identifier atlasId)
getAtlasOrThrow(Identifier atlasId)
method_73025(class_2960 arg0)
getAtlasTexture(Identifier id)
public void
forEach(BiConsumer<Identifier, TextureAtlas> output)
forEach(BiConsumer<Identifier, TextureAtlas> output)
method_73156(BiConsumer<class_2960, class_1059> arg0)
acceptAtlasTextures(BiConsumer<Identifier, SpriteAtlasTexture> consumer)
public void
updateMaxMipLevel(int maxMipmapLevels)
updateMaxMipLevel(int maxMipmapLevels)
method_73024(int arg0)
setMipmapLevels(int mipmapLevels)
public void
close()
close()
public Sprite
get(SpriteId sprite)
get(SpriteId sprite)
method_73030(class_1_310 arg0)
getSprite(SpriteIdentifier arg0)
public void
prepareSharedState(PreparableReloadListener$SharedState currentReload)
prepareSharedState(PreparableReloadListener$SharedState currentReload)
method_1_303(class_3302$class_11558 arg0)
prepareSharedState(ResourceReloader$Store arg0)
public CompletableFuture<Void>
reload(PreparableReloadListener$SharedState currentReload, Executor taskExecutor, PreparableReloadListener$PreparationBarrier preparationBarrier, Executor reloadExecutor)
reload(PreparableReloadListener$SharedState currentReload, Executor taskExecutor, PreparableReloadListener$PreparationBarrier preparationBarrier, Executor reloadExecutor)
method_25931(class_3302$class_11558 arg0, Executor arg1, class_3302$class_4045 arg2, Executor arg3)
reload(ResourceReloader$Store arg0, Executor arg1, ResourceReloader$Synchronizer arg2, Executor arg3)
private void
updateSpriteMaps(AtlasManager$PendingStitchResults pendingStitches)
updateSpriteMaps(AtlasManager$PendingStitchResults pendingStitches)
method_76671(class_11697$class_11700 arg0)
logDuplicates(AtlasManager$Stitch stitch)