Class TextureAtlasSprite
java.lang.Object
net.minecraft.client.renderer.texture.TextureAtlasSprite
- Direct Known Subclasses:
- UnitTextureAtlasSprite
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ResourceLocationprivate final SpriteContentsprivate final floatprivate final floatprivate final floatprivate final float(package private) final int(package private) final int
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedTextureAtlasSprite(ResourceLocation p_250211_, SpriteContents p_248526_, int p_248950_, int p_249741_, int p_248672_, int p_248637_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate floatcontents()intgetPixelRGBA(int frameIndex, int x, int y) floatgetU(float p_294967_) floatgetU0()floatgetU1()floatgetUOffset(float p_174728_) floatgetV(float p_294167_) floatgetV0()floatgetV1()floatgetVOffset(float p_174742_) intgetX()intgetY()toString()voidfloatwrap(VertexConsumer p_118382_) 
- 
Field Details- 
atlasLocation
- 
contents
- 
xfinal int x
- 
yfinal int y
- 
u0private final float u0
- 
u1private final float u1
- 
v0private final float v0
- 
v1private final float v1
 
- 
- 
Constructor Details- 
TextureAtlasSpriteprotected TextureAtlasSprite(ResourceLocation p_250211_, SpriteContents p_248526_, int p_248950_, int p_249741_, int p_248672_, int p_248637_) 
 
- 
- 
Method Details- 
getXpublic int getX()
- 
getYpublic int getY()
- 
getU0public float getU0()
- 
getU1public float getU1()
- 
contents
- 
createTicker
- 
getUpublic float getU(float p_294967_) 
- 
getUOffsetpublic float getUOffset(float p_174728_) 
- 
getV0public float getV0()
- 
getV1public float getV1()
- 
getVpublic float getV(float p_294167_) 
- 
getVOffsetpublic float getVOffset(float p_174742_) 
- 
atlasLocation
- 
toString
- 
uploadFirstFramepublic void uploadFirstFrame()
- 
atlasSizeprivate float atlasSize()
- 
uvShrinkRatiopublic float uvShrinkRatio()
- 
wrap
- 
getPixelRGBApublic int getPixelRGBA(int frameIndex, int x, int y) 
 
-