net.minecraft.client.renderer.texture

public class SpriteContents

implements Stitcher$Entry, AutoCloseable

hbf
net.minecraft.client.renderer.texture.SpriteContents
net.minecraft.class_7764
net.minecraft.client.texture.SpriteContents

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_40535
LOGGER
private final ResourceLocation
b
name
field_40536
id
final int
c
width
field_40537
width
final int
d
height
field_40538
height
private final NativeImage
e
originalImage
field_40539
image
NativeImage[]
f
byMipLevel
field_40540
mipmapLevelsImages
private final SpriteContents$AnimatedTexture
g
animatedTexture
field_40541
animation
private final ResourceMetadata
h
metadata
field_45631
metadata

Constructor summary

ModifierConstructor
public (ResourceLocation id, FrameSize dimensions, NativeImage image, ResourceMetadata metadata)

Method summary

Modifier and TypeMethod
public void
a(int arg0)
increaseMipLevel(int arg0)
method_45808(int arg0)
generateMipmaps(int mipmapLevels)
private int
g()
getFrameCount()
method_45819()
getFrameCount()
private SpriteContents$AnimatedTexture
a(hcz arg0, int arg1, int arg2, hcx arg3)
createAnimatedTexture(FrameSize arg0, int arg1, int arg2, AnimationMetadataSection arg3)
method_45812(class_7771 arg0, int arg1, int arg2, class_1079 arg3)
createAnimation(SpriteDimensions dimensions, int imageWidth, int imageHeight, AnimationResourceMetadata metadata)
void
a(int arg0, int arg1, int arg2, int arg3, ffs[] arg4)
upload(int arg0, int arg1, int arg2, int arg3, NativeImage[] arg4)
method_45811(int arg0, int arg1, int arg2, int arg3, class_1011[] arg4)
upload(int x, int y, int unpackSkipPixels, int unpackSkipRows, NativeImage[] images)
public int
a()
width()
method_45807()
getWidth()
public int
b()
height()
method_45815()
getHeight()
public ResourceLocation
c()
name()
method_45816()
getId()
public IntStream
d()
getUniqueFrames()
method_45817()
getDistinctFrameCount()
public SpriteTicker
e()
createTicker()
method_45818()
createAnimator()
public ResourceMetadata
f()
metadata()
method_52848()
getMetadata()
public void
close()
close()
public boolean
a(int arg0, int arg1, int arg2)
isTransparent(int arg0, int arg1, int arg2)
method_45810(int arg0, int arg1, int arg2)
isPixelTransparent(int frame, int x, int y)
public void
a(int arg0, int arg1)
uploadFirstFrame(int arg0, int arg1)
method_45809(int arg0, int arg1)
upload(int x, int y)