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 TypeMethodDescriptionstatic NativeImageNativeImage.fromBase64(String p_85061_) static NativeImageNativeImage.read(NativeImage.Format p_85049_, InputStream p_85050_) static NativeImageNativeImage.read(NativeImage.Format p_85052_, ByteBuffer p_85053_) static NativeImageNativeImage.read(InputStream p_85059_) static NativeImageNativeImage.read(ByteBuffer p_85063_) Methods in com.mojang.blaze3d.platform with parameters of type NativeImageModifier and TypeMethodDescriptionvoidNativeImage.copyFrom(NativeImage p_85055_) voidNativeImage.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_) voidNativeImage.resizeSubRectTo(int p_85035_, int p_85036_, int p_85037_, int p_85038_, NativeImage p_85039_) -
Uses of NativeImage in net.minecraft.client
Methods in net.minecraft.client that return NativeImageModifier and TypeMethodDescriptionstatic NativeImageScreenshot.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 NativeImageSpecialGlyphs.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 NativeImageBitmapProvider.Glyph.imageThe field for theimagerecord component.private final NativeImageBitmapProvider.imageprivate final NativeImageLegacyUnicodeBitmapsProvider.Glyph.sourceThe field for thesourcerecord component.private final NativeImageLegacyUnicodeBitmapsProvider.Sheet.sourceMethods in net.minecraft.client.gui.font.providers that return NativeImageModifier and TypeMethodDescriptionBitmapProvider.Glyph.image()Returns the value of theimagerecord component.LegacyUnicodeBitmapsProvider.Glyph.source()Returns the value of thesourcerecord component.Methods in net.minecraft.client.gui.font.providers with parameters of type NativeImageModifier and TypeMethodDescriptionprivate intBitmapProvider.Builder.getActualGlyphWidth(NativeImage p_95358_, int p_95359_, int p_95360_, int p_95361_, int p_95362_) Constructors in net.minecraft.client.gui.font.providers with parameters of type NativeImageModifierConstructorDescription(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 aGlyphrecord class.(package private)Glyph(int sourceX, int sourceY, int width, int height, NativeImage source) Creates an instance of aGlyphrecord class.(package private)Sheet(byte[] p_248858_, NativeImage p_249074_) -
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.activeFrameSpriteContents.byMipLevelprivate final NativeImageSimpleTexture.TextureImage.imageprivate final NativeImageSpriteContents.originalImageprivate NativeImageDynamicTexture.pixelsMethods in net.minecraft.client.renderer.texture that return NativeImageModifier and TypeMethodDescriptionstatic NativeImage[]MipmapGenerator.generateMipLevels(NativeImage[] p_251300_, int p_252326_) private static NativeImageMissingTextureAtlasSprite.generateMissingImage(int p_249811_, int p_249362_) SimpleTexture.TextureImage.getImage()SpriteContents.getOriginalImage()DynamicTexture.getPixels()private NativeImageHttpTexture.load(InputStream p_118019_) private NativeImageHttpTexture.processLegacySkin(NativeImage p_118033_) Methods in net.minecraft.client.renderer.texture with parameters of type NativeImageModifier and TypeMethodDescriptionprivate voidSimpleTexture.doLoad(NativeImage p_118137_, boolean p_118138_, boolean p_118139_) private static voidHttpTexture.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 booleanMipmapGenerator.hasTransparentPixel(NativeImage p_252279_) private voidHttpTexture.loadCallback(NativeImage p_118011_) private NativeImageHttpTexture.processLegacySkin(NativeImage p_118033_) private static voidHttpTexture.setNoAlpha(NativeImage p_118023_, int p_118024_, int p_118025_, int p_118026_, int p_118027_) voidDynamicTexture.setPixels(NativeImage p_117989_) private voidHttpTexture.upload(NativeImage p_118021_) (package private) voidSpriteContents.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_, 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
Fields in net.minecraft.client.renderer.texture.atlas.sources with type parameters of type NativeImageModifier and TypeFieldDescriptionprivate final AtomicReference<NativeImage>Unstitcher.LazyLoadedImage.imageMethods 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 SpriteContentsForgeHooksClient.loadSpriteContents(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta) static ScreenshotEventForgeHooksClient.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, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) -
Uses of NativeImage in net.minecraftforge.debug.client
Methods in net.minecraftforge.debug.client with parameters of type NativeImageModifier and TypeMethodDescriptionCustomTASTest.TasLoader.loadContents(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta)