Uses of Class
net.minecraft.client.texture.NativeImage
Packages that use NativeImage
Package
Description
-
Uses of NativeImage in net.minecraft.client.font
Fields in net.minecraft.client.font declared as NativeImageModifier 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.Fields in net.minecraft.client.font with type parameters of type NativeImageModifier and TypeFieldDescriptionprivate final Map<Identifier,
NativeImage> UnicodeTextureFont.images
Methods in net.minecraft.client.font that return NativeImageModifier 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.Methods in net.minecraft.client.font with parameters of type NativeImageModifier and TypeMethodDescriptionprivate int
BitmapFont.Loader.findCharacterStartX
(NativeImage image, int characterWidth, int characterHeight, int charPosX, int charPosY) Constructors in net.minecraft.client.font with parameters of type NativeImageModifierConstructorDescription(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) Constructor parameters in net.minecraft.client.font with type arguments of type NativeImage -
Uses of NativeImage in net.minecraft.client.render
Fields in net.minecraft.client.render declared as NativeImage -
Uses of NativeImage in net.minecraft.client.resource
Methods in net.minecraft.client.resource with parameters of type NativeImageModifier 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
Fields in net.minecraft.client.texture declared as NativeImageModifier and TypeFieldDescriptionprivate @Nullable NativeImage
NativeImageBackedTexture.image
private final @Nullable NativeImage
ResourceTexture.TextureData.image
protected final NativeImage[]
Sprite.images
private final NativeImage[]
Sprite.Interpolation.images
Fields in net.minecraft.client.texture with type parameters of type NativeImageMethods in net.minecraft.client.texture that return NativeImageModifier 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) Methods in net.minecraft.client.texture with parameters of type NativeImageModifier 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) Constructors in net.minecraft.client.texture with parameters of type NativeImageModifierConstructorDescriptionprotected
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
Methods in net.minecraft.client.util that return NativeImageModifier and TypeMethodDescriptionstatic NativeImage
ScreenshotRecorder.takeScreenshot
(Framebuffer framebuffer)