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
Modifier and TypeFieldDescriptionstatic final Function<Material,
TextureAtlasSprite> static final UnitSprite
static final ResourceLocation
Fields inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
mainImage
-
Constructor Summary
-
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:
getU
in classTextureAtlasSprite
-
getV
public float getV(double v) - Overrides:
getV
in classTextureAtlasSprite
-