Class MissingTextureSprite
java.lang.Object
net.minecraft.client.renderer.texture.TextureAtlasSprite
net.minecraft.client.renderer.texture.MissingTextureSprite
- All Implemented Interfaces:
AutoCloseable
,IForgeTextureAtlasSprite
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
TextureAtlasSprite.Info, TextureAtlasSprite.InterpolationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final TextureAtlasSprite.Info
private static final LazyValue<NativeImage>
private static final ResourceLocation
private static DynamicTexture
Fields inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
mainImage
-
Constructor Summary
ModifierConstructorDescriptionprivate
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
Modifier and TypeMethodDescriptionvoid
close()
static ResourceLocation
static DynamicTexture
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 Details
-
MISSING_TEXTURE_LOCATION
-
missingTexture
-
MISSING_IMAGE_DATA
-
INFO
-
-
Constructor Details
-
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 Details
-
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
-
info
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classTextureAtlasSprite
-
getTexture
-