net.minecraft.client.renderer.texture

public class SpriteContents

implements Stitcher$Entry, AutoCloseable

fsw
net.minecraft.client.renderer.texture.SpriteContents
net.minecraft.class_7764
net.minecraft.client.texture.SpriteContents
net.minecraft.src.C_243582_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_40535
LOGGER
f_243663_
private final ResourceLocation
b
name
field_40536
id
f_243877_
final int
c
width
field_40537
width
f_244302_
final int
d
height
field_40538
height
f_244600_
private final NativeImage
e
originalImage
field_40539
image
f_243904_
NativeImage[]
f
byMipLevel
field_40540
mipmapLevelsImages
f_243731_
private final SpriteContents$AnimatedTexture
g
animatedTexture
field_40541
animation
f_244575_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(int arg0)
increaseMipLevel(int arg0)
method_45808(int arg0)
generateMipmaps(int mipmapLevels)
m_246368_(int arg0)
private int
f()
getFrameCount()
method_45819()
getFrameCount()
m_245088_()
private SpriteContents$AnimatedTexture
a(fun arg0, int arg1, int arg2, ful 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)
m_247391_(C_243504_ p_249792_, int p_252353_, int p_250947_, C_4518_ arg3)
void
a(int arg0, int arg1, int arg2, int arg3, egf[] 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)
m_247381_(int p_250245_, int p_250458_, int p_251337_, int p_248825_, C_3148_[] arg4)
public int
a()
width()
method_45807()
getWidth()
m_246492_()
public int
b()
height()
method_45815()
getHeight()
m_245330_()
public ResourceLocation
c()
name()
method_45816()
getId()
m_246162_()
public IntStream
d()
getUniqueFrames()
method_45817()
getDistinctFrameCount()
m_245638_()
public SpriteTicker
e()
createTicker()
method_45818()
createAnimator()
m_246786_()
public void
close()
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)
m_245970_(int p_250934_, int p_249573_, int arg2)
public void
a(int arg0, int arg1)
uploadFirstFrame(int arg0, int arg1)
method_45809(int arg0, int arg1)
upload(int x, int y)
m_246850_(int p_248634_, int arg1)