Class PngFile

java.lang.Object
net.minecraft.client.util.PngFile

@Environment(CLIENT) public class PngFile extends Object
Mappings:
Namespace Name
official drm
intermediary net/minecraft/class_1050
named net/minecraft/client/util/PngFile
  • Field Details

    • width

      public final int width
      Mappings:
      Namespace Name Mixin selector
      official a Ldrm;a:I
      intermediary field_5227 Lnet/minecraft/class_1050;field_5227:I
      named width Lnet/minecraft/client/util/PngFile;width:I
    • height

      public final int height
      Mappings:
      Namespace Name Mixin selector
      official b Ldrm;b:I
      intermediary field_5226 Lnet/minecraft/class_1050;field_5226:I
      named height Lnet/minecraft/client/util/PngFile;height:I
  • Constructor Details

    • PngFile

      public PngFile(String name, InputStream in) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldrm;<init>(Ljava/lang/String;Ljava/io/InputStream;)V
      intermediary <init> Lnet/minecraft/class_1050;<init>(Ljava/lang/String;Ljava/io/InputStream;)V
      named <init> Lnet/minecraft/client/util/PngFile;<init>(Ljava/lang/String;Ljava/io/InputStream;)V
  • Method Details

    • createReader

      private static PngFile.Reader createReader(InputStream is)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrm;a(Ljava/io/InputStream;)Ldrm$a;
      intermediary method_4542 Lnet/minecraft/class_1050;method_4542(Ljava/io/InputStream;)Lnet/minecraft/class_1050$class_1051;
      named createReader Lnet/minecraft/client/util/PngFile;createReader(Ljava/io/InputStream;)Lnet/minecraft/client/util/PngFile$Reader;