Class NativeImageBackedTexture

java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.texture.NativeImageBackedTexture
All Implemented Interfaces:
Texture

@Environment(CLIENT)
public class NativeImageBackedTexture
extends AbstractTexture
Mappings:
Namespace Name
official blz
intermediary net/minecraft/class_1219
named net/minecraft/client/texture/NativeImageBackedTexture
  • Field Details

    • pixels

      private final int[] pixels
      Mappings:
      Namespace Name Mixin selector
      official f Lblz;f:[I
      intermediary field_5072 Lnet/minecraft/class_1219;field_5072:[I
      named pixels Lnet/minecraft/client/texture/NativeImageBackedTexture;pixels:[I
    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      official g Lblz;g:I
      intermediary field_5073 Lnet/minecraft/class_1219;field_5073:I
      named width Lnet/minecraft/client/texture/NativeImageBackedTexture;width:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      official h Lblz;h:I
      intermediary field_5074 Lnet/minecraft/class_1219;field_5074:I
      named height Lnet/minecraft/client/texture/NativeImageBackedTexture;height:I
  • Constructor Details

    • NativeImageBackedTexture

      public NativeImageBackedTexture​(BufferedImage image)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lblz;<init>(Ljava/awt/image/BufferedImage;)V
      intermediary <init> Lnet/minecraft/class_1219;<init>(Ljava/awt/image/BufferedImage;)V
      named <init> Lnet/minecraft/client/texture/NativeImageBackedTexture;<init>(Ljava/awt/image/BufferedImage;)V
    • NativeImageBackedTexture

      public NativeImageBackedTexture​(int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lblz;<init>(II)V
      intermediary <init> Lnet/minecraft/class_1219;<init>(II)V
      named <init> Lnet/minecraft/client/texture/NativeImageBackedTexture;<init>(II)V
  • Method Details

    • load

      public void load​(ResourceManager manager) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbmk;a(Lbni;)V
      intermediary method_4277 Lnet/minecraft/class_1233;method_4277(Lnet/minecraft/class_1258;)V
      named load Lnet/minecraft/client/texture/Texture;load(Lnet/minecraft/resource/ResourceManager;)V
    • upload

      public void upload()
      Mappings:
      Namespace Name Mixin selector
      official d Lblz;d()V
      intermediary method_4195 Lnet/minecraft/class_1219;method_4195()V
      named upload Lnet/minecraft/client/texture/NativeImageBackedTexture;upload()V
    • getPixels

      public int[] getPixels()
      Mappings:
      Namespace Name Mixin selector
      official e Lblz;e()[I
      intermediary method_4196 Lnet/minecraft/class_1219;method_4196()[I
      named getPixels Lnet/minecraft/client/texture/NativeImageBackedTexture;getPixels()[I