Class PngFile

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

@Environment(CLIENT) public class PngFile extends Object
Mappings:
Namespace Name
official dzr
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 Ldzr;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 Ldzr;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(Supplier<String> filenameSupplier, InputStream in) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldzr;<init>(Ljava/util/function/Supplier;Ljava/io/InputStream;)V
      intermediary <init> Lnet/minecraft/class_1050;<init>(Ljava/util/function/Supplier;Ljava/io/InputStream;)V
      named <init> Lnet/minecraft/client/util/PngFile;<init>(Ljava/util/function/Supplier;Ljava/io/InputStream;)V
  • Method Details

    • createReader

      private static PngFile.Reader createReader(InputStream is)
      Mappings:
      Namespace Name Mixin selector
      official a Ldzr;a(Ljava/io/InputStream;)Ldzr$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;