Class MissingTextureAtlasSprite
java.lang.Object
net.minecraft.client.renderer.texture.TextureAtlasSprite
net.minecraft.client.renderer.texture.MissingTextureAtlasSprite
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
TextureAtlasSprite.AnimatedTexture, TextureAtlasSprite.FrameInfo, TextureAtlasSprite.Info, TextureAtlasSprite.InterpolationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final TextureAtlasSprite.Info
private static final LazyLoadedValue<NativeImage>
private static final int
private static final int
private static final ResourceLocation
private static final String
private static DynamicTexture
Fields inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
height, mainImage, width
-
Constructor Summary
ModifierConstructorDescriptionprivate
MissingTextureAtlasSprite
(TextureAtlas p_118065_, int p_118066_, int p_118067_, int p_118068_, int p_118069_, int p_118070_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static ResourceLocation
static DynamicTexture
static TextureAtlasSprite.Info
info()
static MissingTextureAtlasSprite
newInstance
(TextureAtlas p_118073_, int p_118074_, int p_118075_, int p_118076_, int p_118077_, int p_118078_) Methods inherited from class net.minecraft.client.renderer.texture.TextureAtlasSprite
atlas, getAnimationTicker, getFrameCount, getHeight, getName, getPixelRGBA, getU, getU0, getU1, getUniqueFrames, getUOffset, getV, getV0, getV1, getVOffset, getWidth, getX, getY, isTransparent, toString, upload, uploadFirstFrame, uvShrinkRatio, wrap
-
Field Details
-
MISSING_IMAGE_WIDTH
private static final int MISSING_IMAGE_WIDTH- See Also:
-
MISSING_IMAGE_HEIGHT
private static final int MISSING_IMAGE_HEIGHT- See Also:
-
MISSING_TEXTURE_NAME
- See Also:
-
MISSING_TEXTURE_LOCATION
-
missingTexture
-
MISSING_IMAGE_DATA
-
INFO
-
-
Constructor Details
-
MissingTextureAtlasSprite
private MissingTextureAtlasSprite(TextureAtlas p_118065_, int p_118066_, int p_118067_, int p_118068_, int p_118069_, int p_118070_)
-
-
Method Details
-
newInstance
public static MissingTextureAtlasSprite newInstance(TextureAtlas p_118073_, int p_118074_, int p_118075_, int p_118076_, int p_118077_, int p_118078_) -
getLocation
-
info
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classTextureAtlasSprite
-
getTexture
-