Class UnitSprite
java.lang.Object
net.minecraft.client.renderer.texture.TextureAtlasSprite
net.minecraftforge.client.textures.UnitSprite
- All Implemented Interfaces:
AutoCloseable
A helper that lets you bake 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.Info -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<Material,TextureAtlasSprite> static final UnitSpritestatic final ResourceLocationFields inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
mainImage -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
atlas, close, getAnimationTicker, getFrameCount, getHeight, getName, getPixelRGBA, getU0, getU1, getUniqueFrames, getUOffset, getV0, getV1, getVOffset, getWidth, getX, getY, isTransparent, toString, uploadFirstFrame, uvShrinkRatio, wrap
-
Field Details
-
LOCATION
-
INSTANCE
-
GETTER
-
-
Constructor Details
-
UnitSprite
private UnitSprite()
-
-
Method Details
-
getU
public float getU(double u) - Overrides:
getUin classTextureAtlasSprite
-
getV
public float getV(double v) - Overrides:
getVin classTextureAtlasSprite
-