Class MissingTextureSprite
- java.lang.Object
-
- net.minecraft.client.renderer.texture.TextureAtlasSprite
-
- net.minecraft.client.renderer.texture.MissingTextureSprite
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IForgeTextureAtlasSprite
public final class MissingTextureSprite extends TextureAtlasSprite
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
TextureAtlasSprite.Info, TextureAtlasSprite.InterpolationData
-
-
Field Summary
Fields Modifier and Type Field Description private static TextureAtlasSprite.Info
INFO
private static LazyValue<NativeImage>
MISSING_IMAGE_DATA
private static ResourceLocation
MISSING_TEXTURE_LOCATION
private static DynamicTexture
missingTexture
-
Fields inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
mainImage
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MissingTextureSprite(AtlasTexture p_i226044_1_, int p_i226044_2_, int p_i226044_3_, int p_i226044_4_, int p_i226044_5_, int p_i226044_6_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static ResourceLocation
getLocation()
static DynamicTexture
getTexture()
static TextureAtlasSprite.Info
info()
static MissingTextureSprite
newInstance(AtlasTexture p_229176_0_, int p_229176_1_, int p_229176_2_, int p_229176_3_, int p_229176_4_, int p_229176_5_)
-
Methods inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
atlas, cycleFrames, getFrameCount, getHeight, getName, getPixelRGBA, getU, getU0, getU1, getV, getV0, getV1, getWidth, isAnimation, isTransparent, toString, uploadFirstFrame, uvShrinkRatio, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.client.extensions.IForgeTextureAtlasSprite
getDependencies, hasCustomLoader, load
-
-
-
-
Field Detail
-
MISSING_TEXTURE_LOCATION
private static final ResourceLocation MISSING_TEXTURE_LOCATION
-
missingTexture
@Nullable private static DynamicTexture missingTexture
-
MISSING_IMAGE_DATA
private static final LazyValue<NativeImage> MISSING_IMAGE_DATA
-
INFO
private static final TextureAtlasSprite.Info INFO
-
-
Constructor Detail
-
MissingTextureSprite
private MissingTextureSprite(AtlasTexture p_i226044_1_, int p_i226044_2_, int p_i226044_3_, int p_i226044_4_, int p_i226044_5_, int p_i226044_6_)
-
-
Method Detail
-
newInstance
public static MissingTextureSprite newInstance(AtlasTexture p_229176_0_, int p_229176_1_, int p_229176_2_, int p_229176_3_, int p_229176_4_, int p_229176_5_)
-
getLocation
public static ResourceLocation getLocation()
-
info
public static TextureAtlasSprite.Info info()
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Overrides:
close
in classTextureAtlasSprite
-
getTexture
public static DynamicTexture getTexture()
-
-