Class UnitTextureAtlasSprite
java.lang.Object
net.minecraft.client.renderer.texture.TextureAtlasSprite
net.neoforged.neoforge.client.textures.UnitTextureAtlasSprite
A helper sprite with UVs spanning the entire texture.
 
Useful for baking quads that won't be used with an atlas.
- 
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
TextureAtlasSprite.Ticker - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UnitTextureAtlasSpritestatic final ResourceLocation - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
atlasLocation, contents, createTicker, getPixelRGBA, getU0, getU1, getUOffset, getV0, getV1, getVOffset, getX, getY, toString, uploadFirstFrame, uvShrinkRatio, wrap 
- 
Field Details
- 
LOCATION
 - 
INSTANCE
 
 - 
 - 
Constructor Details
- 
UnitTextureAtlasSprite
private UnitTextureAtlasSprite() 
 - 
 - 
Method Details
- 
getU
public float getU(float u) - Overrides:
 getUin classTextureAtlasSprite
 - 
getV
public float getV(float v) - Overrides:
 getVin classTextureAtlasSprite
 
 -