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 cdg
intermediary net/minecraft/class_1636
named net/minecraft/client/texture/NativeImageBackedTexture
  • Field Details

    • pixels

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

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

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

    • NativeImageBackedTexture

      public NativeImageBackedTexture(BufferedImage image)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcdg;<init>(Ljava/awt/image/BufferedImage;)V
      intermediary <init> Lnet/minecraft/class_1636;<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> Lcdg;<init>(II)V
      intermediary <init> Lnet/minecraft/class_1636;<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 Lcds;a(Lcep;)V
      intermediary method_5854 Lnet/minecraft/class_319;method_5854(Lnet/minecraft/class_1654;)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 Lcdg;d()V
      intermediary method_5817 Lnet/minecraft/class_1636;method_5817()V
      named upload Lnet/minecraft/client/texture/NativeImageBackedTexture;upload()V
    • getPixels

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