net.minecraft.client.texture

public class SpriteAtlasTexture

extends AbstractTexture implements TextureTickListener, DynamicTexture

All mapped superinterfaces:

TextureTickListener, DynamicTexture

net.minecraft.client.renderer.texture.TextureAtlas
net.minecraft.class_1059
net.minecraft.client.texture.SpriteAtlasTexture

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_5278
LOGGER
public static final Identifier
LOCATION_BLOCKS
field_5275
BLOCK_ATLAS_TEXTURE
public static final Identifier
LOCATION_ITEMS
field_64467
ITEMS_ATLAS_TEXTURE
public static final Identifier
LOCATION_PARTICLES
field_17898
PARTICLE_ATLAS_TEXTURE
private List<Sprite>
sprites
field_5277
spritesToLoad
private List<SpriteContents$Animator>
animatedTexturesStates
field_64243
animators
private Map<Identifier, Sprite>
texturesByName
field_5280
sprites
private Sprite
missingSprite
field_46207
missingSprite
private final Identifier
location
field_21749
id
private final int
maxSupportedTextureSize
field_17899
maxTextureSize
private int
width
field_43113
width
private int
height
field_43114
height
private int
maxMipLevel
field_64244
mipLevel
private int
mipLevelCount
field_64245
numMipLevels
private GpuTextureView[]
mipViews
field_64246
mipTextures
private GpuBuffer
spriteUbos
field_64247
uniformBuffer

Constructor summary

ModifierConstructor
public (Identifier id)

Method summary

Modifier and TypeMethod
private void
createTexture(int newWidth, int newHeight, int newMipLevel)
method_72240(int arg0, int arg1, int arg2)
createTexture(int width, int height, int mipLevel)
public void
upload(SpriteLoader$Preparations preparations)
method_45848(class_7766$class_7767 arg0)
create(SpriteLoader$StitchResult stitchResult)
private void
uploadInitialContents()
method_76314()
upload()
public void
dumpContents(Identifier selfId, Path dir)
method_49712(class_2960 arg0, Path arg1)
save(Identifier arg0, Path arg1)
private static void
dumpSpriteNames(Path dir, String outputId, Map<Identifier, TextureAtlasSprite> regions)
method_45849(Path arg0, String arg1, Map<class_2960, class_1058> arg2)
dumpAtlasInfos(Path path, String id, Map<Identifier, Sprite> sprites)
public void
cycleAnimationFrames()
method_4612()
tickAnimatedSprites()
private void
uploadAnimationFrames()
method_76669()
uploadAnimations()
public void
tick()
method_4622()
tick()
public Sprite
getSprite(Identifier location)
method_4608(class_2960 arg0)
getSprite(Identifier id)
public Sprite
missingSprite()
method_73023()
getMissingSprite()
public void
clearTextureData()
method_4601()
clear()
protected void
releaseTextures()
method_1_5705()
destroyTexture()
public void
close()
public Identifier
location()
method_24106()
getId()
public int
maxSupportedTextureSize()
method_45850()
getMaxTextureSize()
int
getWidth()
method_49713()
getWidth()
int
getHeight()
method_49714()
getHeight()
private String
lambda$uploadAnimationFrames$0()
method_76670()
method_76670()
private static int
lambda$dumpContents$0(int arg0)
method_68168(int arg0)
method_68168(int color)
private String
lambda$uploadInitialContents$3()
method_76316()
method_76316()
private static String
lambda$uploadInitialContents$2()
method_76317()
method_76317()
private static String
lambda$uploadInitialContents$1(TextureAtlasSprite arg0)
method_76312(class_1058 arg0)
method_76312(Sprite arg0)
private static boolean
lambda$uploadInitialContents$0(TextureAtlasSprite arg0)
method_76313(class_1058 arg0)
method_76313(Sprite sprite)
private String
lambda$upload$0()
method_76318()
method_76318()