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 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_) Methods in com.mojang.blaze3d.platform with parameters of type NativeImageModifier and TypeMethodDescriptionvoid
NativeImage.copyFrom
(NativeImage p_85055_) 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
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
private final NativeImage
LegacyUnicodeBitmapsProvider.Glyph.source
The field for thesource
record component.Fields in net.minecraft.client.gui.font.providers with type parameters of type NativeImageModifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
NativeImage> LegacyUnicodeBitmapsProvider.textures
Methods in net.minecraft.client.gui.font.providers that return NativeImageModifier and TypeMethodDescriptionBitmapProvider.Glyph.image()
Returns the value of theimage
record component.private NativeImage
LegacyUnicodeBitmapsProvider.loadTexture
(ResourceLocation p_95438_) LegacyUnicodeBitmapsProvider.Glyph.source()
Returns the value of thesource
record component.Methods in net.minecraft.client.gui.font.providers with parameters of type NativeImageModifier and TypeMethodDescriptionprivate int
BitmapProvider.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 aGlyph
record class.(package private)
Glyph
(int sourceX, int sourceY, int width, int height, NativeImage source) Creates an instance of aGlyph
record class. -
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[]
TextureAtlasSprite.InterpolationData.activeFrame
private final NativeImage
SimpleTexture.TextureImage.image
protected final NativeImage[]
TextureAtlasSprite.mainImage
private NativeImage
DynamicTexture.pixels
Fields in net.minecraft.client.renderer.texture with type parameters of type NativeImageModifier and TypeFieldDescriptionprivate static final LazyLoadedValue<NativeImage>
MissingTextureAtlasSprite.MISSING_IMAGE_DATA
Methods in net.minecraft.client.renderer.texture that return NativeImageModifier and TypeMethodDescriptionstatic NativeImage[]
MipmapGenerator.generateMipLevels
(NativeImage p_118055_, int p_118056_) SimpleTexture.TextureImage.getImage()
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_118055_, int p_118056_) 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
TextureAtlasSprite.upload
(int p_118376_, int p_118377_, NativeImage[] p_118378_) Constructors in net.minecraft.client.renderer.texture with parameters of type NativeImageModifierConstructorDescriptionDynamicTexture
(NativeImage p_117984_) protected
TextureAtlasSprite
(TextureAtlas p_118358_, TextureAtlasSprite.Info p_118359_, int p_118360_, int p_118361_, int p_118362_, int p_118363_, int p_118364_, NativeImage p_118365_) TextureImage
(TextureMetadataSection p_118150_, NativeImage p_118151_) -
Uses of NativeImage in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type NativeImageModifier and TypeMethodDescriptionprivate static void
PackResourcesAdapterV4.copyRect
(NativeImage p_118760_, NativeImage p_118761_, int p_118762_, int p_118763_, int p_118764_, int p_118765_, int p_118766_, int p_118767_, int p_118768_, boolean p_118769_, boolean p_118770_) -
Uses of NativeImage in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type NativeImageModifier and TypeMethodDescriptionstatic @Nullable TextureAtlasSprite
ForgeHooksClient.loadTextureAtlasSprite
(TextureAtlas textureAtlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image) 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 TypeMethodDescription@NotNull TextureAtlasSprite
ITextureAtlasSpriteLoader.load
(TextureAtlas atlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image) Load aTextureAtlasSprite
for the given resource. -
Uses of NativeImage in net.minecraftforge.debug.client
Methods in net.minecraftforge.debug.client with parameters of type NativeImageModifier and TypeMethodDescription@NotNull TextureAtlasSprite
CustomTASTest.TasLoader.load
(TextureAtlas atlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image)