Uses of Class
net.minecraft.client.texture.NativeImage
Package
Description
-
Uses of NativeImage in net.minecraft.client.font
Modifier and TypeFieldDescriptionprivate final NativeImage
BitmapFont.BitmapFontGlyph.image
The field for theimage
record component.private final NativeImage
BitmapFont.image
(package private) final NativeImage
BuiltinEmptyGlyph.image
private final NativeImage
UnicodeTextureFont.UnicodeTextureGlyph.image
The field for theimage
record component.Modifier and TypeFieldDescriptionprivate final Map<Identifier,
NativeImage> UnicodeTextureFont.images
Modifier and TypeMethodDescriptionprivate static NativeImage
BuiltinEmptyGlyph.createRectImage
(int width, int height, BuiltinEmptyGlyph.ColorSupplier colorSupplier) private @Nullable NativeImage
UnicodeTextureFont.getGlyphImage
(Identifier glyphId) BitmapFont.BitmapFontGlyph.image()
Returns the value of theimage
record component.UnicodeTextureFont.UnicodeTextureGlyph.image()
Returns the value of theimage
record component.Modifier and TypeMethodDescriptionprivate int
BitmapFont.Loader.findCharacterStartX
(NativeImage image, int characterWidth, int characterHeight, int charPosX, int charPosY) ModifierConstructorDescription(package private)
BitmapFont
(NativeImage image, Int2ObjectMap<BitmapFont.BitmapFontGlyph> glyphs) (package private)
BitmapFontGlyph
(float scaleFactor, NativeImage image, int x, int y, int width, int height, int advance, int ascent) Creates an instance of aBitmapFontGlyph
record class.(package private)
UnicodeTextureGlyph
(int int2, int int3, int int4, int int5, NativeImage image) -
Uses of NativeImage in net.minecraft.client.render
-
Uses of NativeImage in net.minecraft.client.resource
Modifier and TypeMethodDescriptionprivate static void
Format4ResourcePack.loadBytes
(NativeImage source, NativeImage target, int sourceLeft, int sourceTop, int left, int top, int right, int bottom, int multiplier, boolean mirrorX, boolean mirrorY) -
Uses of NativeImage in net.minecraft.client.texture
Modifier and TypeFieldDescriptionprivate @Nullable NativeImage
NativeImageBackedTexture.image
private final @Nullable NativeImage
ResourceTexture.TextureData.image
protected final NativeImage[]
Sprite.images
private final NativeImage[]
Sprite.Interpolation.images
Modifier and TypeMethodDescriptionNativeImageBackedTexture.getImage()
ResourceTexture.TextureData.getImage()
static NativeImage[]
MipmapHelper.getMipmapLevelsImages
(NativeImage image, int mipmap) private @Nullable NativeImage
PlayerSkinTexture.loadTexture
(InputStream stream) static NativeImage
NativeImage.read
(@Nullable NativeImage.Format format, InputStream stream) static NativeImage
NativeImage.read
(@Nullable NativeImage.Format format, ByteBuffer buffer) static NativeImage
NativeImage.read
(InputStream stream) static NativeImage
static NativeImage
NativeImage.read
(ByteBuffer buffer) private @Nullable NativeImage
PlayerSkinTexture.remapTexture
(NativeImage image) Modifier and TypeMethodDescriptionvoid
NativeImage.copyFrom
(NativeImage image) static NativeImage[]
MipmapHelper.getMipmapLevelsImages
(NativeImage image, int mipmap) private void
PlayerSkinTexture.onTextureLoaded
(NativeImage image) private @Nullable NativeImage
PlayerSkinTexture.remapTexture
(NativeImage image) void
NativeImage.resizeSubRectTo
(int x, int y, int width, int height, NativeImage targetImage) void
NativeImageBackedTexture.setImage
(NativeImage image) private static void
PlayerSkinTexture.stripAlpha
(NativeImage image, int x1, int y1, int x2, int y2) private static void
PlayerSkinTexture.stripColor
(NativeImage image, int x1, int y1, int x2, int y2) private void
ResourceTexture.upload
(NativeImage image, boolean blur, boolean clamp) (package private) void
Sprite.upload
(int frameX, int frameY, NativeImage[] output) private void
PlayerSkinTexture.uploadTexture
(NativeImage image) ModifierConstructorDescriptionprotected
Sprite
(SpriteAtlasTexture atlas, Sprite.Info info, int maxLevel, int atlasWidth, int atlasHeight, int x, int y, NativeImage image) TextureData
(@Nullable TextureResourceMetadata metadata, NativeImage image) -
Uses of NativeImage in net.minecraft.client.util
Modifier and TypeMethodDescriptionstatic NativeImage
ScreenshotRecorder.takeScreenshot
(Framebuffer framebuffer)