Class PngFile

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

@Environment(CLIENT) public class PngFile extends Object
Mappings:
Namespace Name
official dpm
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 Ldpm;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 Ldpm;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> Ldpm;<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 Ldpm;a(Ljava/io/InputStream;)Ldpm$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;