Uses of Class
com.mojang.blaze3d.platform.NativeImage
Packages that use NativeImage
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of NativeImage in com.mojang.blaze3d.platform
Methods in com.mojang.blaze3d.platform that return NativeImageModifier and TypeMethodDescriptionNativeImage.mappedCopy
(IntUnaryOperator p_267084_) static NativeImage
NativeImage.read
(byte[] p_273041_) static NativeImage
NativeImage.read
(NativeImage.Format p_85049_, InputStream p_85050_) static NativeImage
NativeImage.read
(NativeImage.Format p_85052_, ByteBuffer p_85053_) static NativeImage
NativeImage.read
(InputStream p_85059_) static NativeImage
NativeImage.read
(ByteBuffer p_85063_) Methods in com.mojang.blaze3d.platform with parameters of type NativeImageModifier and TypeMethodDescriptionvoid
NativeImage.copyFrom
(NativeImage p_85055_) void
NativeImage.copyRect
(NativeImage p_261644_, int p_262056_, int p_261490_, int p_261959_, int p_262110_, int p_261522_, int p_261505_, boolean p_261480_, boolean p_261622_) void
NativeImage.resizeSubRectTo
(int p_85035_, int p_85036_, int p_85037_, int p_85038_, NativeImage p_85039_) -
Uses of NativeImage in com.mojang.realmsclient.util
Methods in com.mojang.realmsclient.util that return NativeImage -
Uses of NativeImage in net.minecraft.client
Methods in net.minecraft.client that return NativeImageModifier and TypeMethodDescriptionstatic NativeImage
Screenshot.takeScreenshot
(RenderTarget p_92282_) -
Uses of NativeImage in net.minecraft.client.gui.font.glyphs
Fields in net.minecraft.client.gui.font.glyphs declared as NativeImageMethods in net.minecraft.client.gui.font.glyphs that return NativeImageModifier and TypeMethodDescriptionprivate static NativeImage
SpecialGlyphs.generate
(int p_232609_, int p_232610_, SpecialGlyphs.PixelProvider p_232611_) Constructor parameters in net.minecraft.client.gui.font.glyphs with type arguments of type NativeImage -
Uses of NativeImage in net.minecraft.client.gui.font.providers
Fields in net.minecraft.client.gui.font.providers declared as NativeImageModifier and TypeFieldDescriptionprivate final NativeImage
BitmapProvider.Glyph.image
The field for theimage
record component.private final NativeImage
BitmapProvider.image
Methods in net.minecraft.client.gui.font.providers that return NativeImageModifier and TypeMethodDescriptionBitmapProvider.Glyph.image()
Returns the value of theimage
record component.Methods in net.minecraft.client.gui.font.providers with parameters of type NativeImageModifier and TypeMethodDescriptionprivate int
BitmapProvider.Definition.getActualGlyphWidth
(NativeImage p_286449_, int p_286656_, int p_286554_, int p_286657_, int p_286307_) Constructors in net.minecraft.client.gui.font.providers with parameters of type NativeImageModifierConstructorDescription(package private)
BitmapProvider
(NativeImage p_285380_, CodepointMap<BitmapProvider.Glyph> p_285445_) (package private)
Glyph
(float scale, NativeImage image, int offsetX, int offsetY, int width, int height, int advance, int ascent) Creates an instance of aGlyph
record class. -
Uses of NativeImage in net.minecraft.client.gui.screens
Methods in net.minecraft.client.gui.screens with parameters of type NativeImage -
Uses of NativeImage in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as NativeImage -
Uses of NativeImage in net.minecraft.client.renderer.texture
Fields in net.minecraft.client.renderer.texture declared as NativeImageModifier and TypeFieldDescriptionprivate final NativeImage[]
SpriteContents.InterpolationData.activeFrame
SpriteContents.byMipLevel
private final NativeImage
SimpleTexture.TextureImage.image
private final NativeImage
SpriteContents.originalImage
private NativeImage
DynamicTexture.pixels
Methods in net.minecraft.client.renderer.texture that return NativeImageModifier and TypeMethodDescriptionstatic NativeImage[]
MipmapGenerator.generateMipLevels
(NativeImage[] p_251300_, int p_252326_) private static NativeImage
MissingTextureAtlasSprite.generateMissingImage
(int p_249811_, int p_249362_) SimpleTexture.TextureImage.getImage()
SpriteContents.getOriginalImage()
DynamicTexture.getPixels()
private NativeImage
HttpTexture.load
(InputStream p_118019_) private NativeImage
HttpTexture.processLegacySkin
(NativeImage p_118033_) Methods in net.minecraft.client.renderer.texture with parameters of type NativeImageModifier and TypeMethodDescriptionprivate void
SimpleTexture.doLoad
(NativeImage p_118137_, boolean p_118138_, boolean p_118139_) private static void
HttpTexture.doNotchTransparencyHack
(NativeImage p_118013_, int p_118014_, int p_118015_, int p_118016_, int p_118017_) static NativeImage[]
MipmapGenerator.generateMipLevels
(NativeImage[] p_251300_, int p_252326_) private static boolean
MipmapGenerator.hasTransparentPixel
(NativeImage p_252279_) private void
HttpTexture.loadCallback
(NativeImage p_118011_) private NativeImage
HttpTexture.processLegacySkin
(NativeImage p_118033_) private static void
HttpTexture.setNoAlpha
(NativeImage p_118023_, int p_118024_, int p_118025_, int p_118026_, int p_118027_) void
DynamicTexture.setPixels
(NativeImage p_117989_) private void
HttpTexture.upload
(NativeImage p_118021_) (package private) void
SpriteContents.upload
(int p_248895_, int p_250245_, int p_250458_, int p_251337_, NativeImage[] p_248825_) Constructors in net.minecraft.client.renderer.texture with parameters of type NativeImageModifierConstructorDescriptionDynamicTexture
(NativeImage p_117984_) SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_299427_) Deprecated.Forge: Use the overload with Forge metadata parameter to properly forward custom loaders.SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, ResourceMetadata p_299427_, ForgeTextureMetadata forgeMeta) TextureImage
(TextureMetadataSection p_118150_, NativeImage p_118151_) -
Uses of NativeImage in net.minecraft.client.renderer.texture.atlas.sources
Fields in net.minecraft.client.renderer.texture.atlas.sources with type parameters of type NativeImageModifier and TypeFieldDescriptionprivate final AtomicReference<NativeImage>
LazyLoadedImage.image
Methods in net.minecraft.client.renderer.texture.atlas.sources that return NativeImage -
Uses of NativeImage in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type NativeImageModifier and TypeMethodDescriptionstatic @Nullable SpriteContents
ForgeHooksClient.loadSpriteContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, ResourceMetadata animationMeta) static ScreenshotEvent
ForgeHooksClient.onScreenshot
(NativeImage image, File screenshotFile) -
Uses of NativeImage in net.minecraftforge.client.event
Fields in net.minecraftforge.client.event declared as NativeImageMethods in net.minecraftforge.client.event that return NativeImageModifier and TypeMethodDescriptionScreenshotEvent.getImage()
Returns the in-memory image of the screenshot.Constructors in net.minecraftforge.client.event with parameters of type NativeImage -
Uses of NativeImage in net.minecraftforge.client.textures
Methods in net.minecraftforge.client.textures with parameters of type NativeImageModifier and TypeMethodDescriptionITextureAtlasSpriteLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, ResourceMetadata animationMeta, ForgeTextureMetadata forgeMeta)