Class TextureAtlasSprite
java.lang.Object
net.minecraft.client.renderer.texture.TextureAtlasSprite
- Direct Known Subclasses:
 UnitTextureAtlasSprite
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ResourceLocationprivate final SpriteContentsprivate final floatprivate final floatprivate final floatprivate final float(package private) final int(package private) final int - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTextureAtlasSprite(ResourceLocation p_250211_, SpriteContents p_248526_, int p_248950_, int p_249741_, int p_248672_, int p_248637_)  - 
Method Summary
Modifier 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
 - 
x
final int x - 
y
final int y - 
u0
private final float u0 - 
u1
private final float u1 - 
v0
private final float v0 - 
v1
private final float v1 
 - 
 - 
Constructor Details
- 
TextureAtlasSprite
protected TextureAtlasSprite(ResourceLocation p_250211_, SpriteContents p_248526_, int p_248950_, int p_249741_, int p_248672_, int p_248637_)  
 - 
 - 
Method Details
- 
getX
public int getX() - 
getY
public int getY() - 
getU0
public float getU0() - 
getU1
public float getU1() - 
contents
 - 
createTicker
 - 
getU
public float getU(float p_294967_)  - 
getUOffset
public float getUOffset(float p_174728_)  - 
getV0
public float getV0() - 
getV1
public float getV1() - 
getV
public float getV(float p_294167_)  - 
getVOffset
public float getVOffset(float p_174742_)  - 
atlasLocation
 - 
toString
 - 
uploadFirstFrame
public void uploadFirstFrame() - 
atlasSize
private float atlasSize() - 
uvShrinkRatio
public float uvShrinkRatio() - 
wrap
 - 
getPixelRGBA
public int getPixelRGBA(int frameIndex, int x, int y)  
 -