@Environment(value=CLIENT) public final class MissingSprite extends Sprite
Sprite.Info, Sprite.Interpolation
Modifier and Type | Field and Description |
---|---|
private static Lazy<NativeImage> |
IMAGE |
private static Sprite.Info |
INFO |
private static Identifier |
MISSINGNO |
private static NativeImageBackedTexture |
texture |
Modifier | Constructor and Description |
---|---|
private |
MissingSprite(SpriteAtlasTexture spriteAtlasTexture,
int maxLevel,
int atlasWidth,
int atlasHeight,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static Sprite.Info |
getMissingInfo() |
static MissingSprite |
getMissingSprite(SpriteAtlasTexture spriteAtlasTexture,
int maxLevel,
int atlasWidth,
int atlasHeight,
int x,
int y) |
static Identifier |
getMissingSpriteId() |
static NativeImageBackedTexture |
getMissingSpriteTexture() |
getAnimationFrameDelta, getAtlas, getFrameCount, getFrameU, getFrameV, getHeight, getId, getMaxU, getMaxV, getMinU, getMinV, getTextureSpecificVertexConsumer, getWidth, isAnimated, isPixelTransparent, tickAnimation, toString, upload
private static final Identifier MISSINGNO
@Nullable private static NativeImageBackedTexture texture
private static final Lazy<NativeImage> IMAGE
private static final Sprite.Info INFO
private MissingSprite(SpriteAtlasTexture spriteAtlasTexture, int maxLevel, int atlasWidth, int atlasHeight, int x, int y)
public static MissingSprite getMissingSprite(SpriteAtlasTexture spriteAtlasTexture, int maxLevel, int atlasWidth, int atlasHeight, int x, int y)
public static Identifier getMissingSpriteId()
public static Sprite.Info getMissingInfo()
public void close()
close
in interface AutoCloseable
close
in class Sprite
public static NativeImageBackedTexture getMissingSpriteTexture()