Uses of Class
com.mojang.blaze3d.platform.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
Modifier and TypeMethodDescriptionstatic NativeImage
NativeImage.fromBase64
(String p_85061_) 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_) Modifier 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 net.minecraft.client
Modifier and TypeMethodDescriptionstatic NativeImage
Screenshot.takeScreenshot
(RenderTarget p_92282_) -
Uses of NativeImage in net.minecraft.client.gui.font.glyphs
Modifier and TypeMethodDescriptionprivate static NativeImage
SpecialGlyphs.generate
(int p_232609_, int p_232610_, SpecialGlyphs.PixelProvider p_232611_) -
Uses of NativeImage in net.minecraft.client.gui.font.providers
Modifier and TypeFieldDescriptionprivate final NativeImage
BitmapProvider.Glyph.image
The field for theimage
record component.private final NativeImage
BitmapProvider.image
private final NativeImage
LegacyUnicodeBitmapsProvider.Glyph.source
The field for thesource
record component.private final NativeImage
LegacyUnicodeBitmapsProvider.Sheet.source
Modifier and TypeMethodDescriptionBitmapProvider.Glyph.image()
Returns the value of theimage
record component.LegacyUnicodeBitmapsProvider.Glyph.source()
Returns the value of thesource
record component.Modifier and TypeMethodDescriptionprivate int
BitmapProvider.Builder.getActualGlyphWidth
(NativeImage p_95358_, int p_95359_, int p_95360_, int p_95361_, int p_95362_) ModifierConstructorDescription(package private)
BitmapProvider
(NativeImage p_95333_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<BitmapProvider.Glyph> p_95334_) (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.(package private)
Glyph
(int sourceX, int sourceY, int width, int height, NativeImage source) Creates an instance of aGlyph
record class.(package private)
Sheet
(byte[] p_248858_, NativeImage p_249074_) -
Uses of NativeImage in net.minecraft.client.renderer
-
Uses of NativeImage in net.minecraft.client.renderer.texture
Modifier and TypeFieldDescriptionprivate final NativeImage[]
SpriteContents.InterpolationData.activeFrame
SpriteContents.byMipLevel
private final NativeImage
SimpleTexture.TextureImage.image
private final NativeImage
SpriteContents.originalImage
private NativeImage
DynamicTexture.pixels
Modifier 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_) Modifier 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_) ModifierConstructorDescriptionDynamicTexture
(NativeImage p_117984_) SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, AnimationMetadataSection p_250432_) Deprecated.Forge: Use the overload with Forge metadata parameter to properly forward custom loaders.SpriteContents
(ResourceLocation p_249787_, FrameSize p_251031_, NativeImage p_252131_, AnimationMetadataSection p_250432_, ForgeTextureMetadata forgeMeta) TextureImage
(TextureMetadataSection p_118150_, NativeImage p_118151_) -
Uses of NativeImage in net.minecraft.client.renderer.texture.atlas.sources
Modifier and TypeFieldDescriptionprivate final AtomicReference<NativeImage>
Unstitcher.LazyLoadedImage.image
-
Uses of NativeImage in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic @Nullable SpriteContents
ForgeHooksClient.loadSpriteContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta) static ScreenshotEvent
ForgeHooksClient.onScreenshot
(NativeImage image, File screenshotFile) -
Uses of NativeImage in net.minecraftforge.client.event
Modifier and TypeMethodDescriptionScreenshotEvent.getImage()
Returns the in-memory image of the screenshot. -
Uses of NativeImage in net.minecraftforge.client.textures
Modifier and TypeMethodDescriptionITextureAtlasSpriteLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) -
Uses of NativeImage in net.minecraftforge.debug.client
Modifier and TypeMethodDescriptionCustomTASTest.TasLoader.loadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta)