Class AbstractFileResourcePack

java.lang.Object
net.minecraft.resource.AbstractFileResourcePack
All Implemented Interfaces:
AutoCloseable, ResourcePack
Direct Known Subclasses:
DirectoryResourcePack, ZipResourcePack

public abstract class AbstractFileResourcePack extends Object implements ResourcePack
Mappings:
Namespace Name
named net/minecraft/resource/AbstractFileResourcePack
intermediary net/minecraft/class_3255
official atx
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/resource/AbstractFileResourcePack;LOGGER:Lorg/slf4j/Logger;
      intermediary field_14182 Lnet/minecraft/class_3255;field_14182:Lorg/slf4j/Logger;
      official c Latx;c:Lorg/slf4j/Logger;
    • info

      private final ResourcePackInfo info
      Mappings:
      Namespace Name Mixin selector
      named info Lnet/minecraft/resource/AbstractFileResourcePack;info:Lnet/minecraft/resource/ResourcePackInfo;
      intermediary field_49031 Lnet/minecraft/class_3255;field_49031:Lnet/minecraft/class_9224;
      official d Latx;d:Lauf;
  • Constructor Details

    • AbstractFileResourcePack

      protected AbstractFileResourcePack(ResourcePackInfo info)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/resource/AbstractFileResourcePack;<init>(Lnet/minecraft/resource/ResourcePackInfo;)V
      intermediary <init> Lnet/minecraft/class_3255;<init>(Lnet/minecraft/class_9224;)V
      official <init> Latx;<init>(Lauf;)V
  • Method Details

    • parseMetadata

      @Nullable public <T> T parseMetadata(ResourceMetadataReader<T> metaReader) throws IOException
      Specified by:
      parseMetadata in interface ResourcePack
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named parseMetadata Lnet/minecraft/resource/ResourcePack;parseMetadata(Lnet/minecraft/resource/metadata/ResourceMetadataReader;)Ljava/lang/Object;
      intermediary method_14407 Lnet/minecraft/class_3262;method_14407(Lnet/minecraft/class_3270;)Ljava/lang/Object;
      official a Laug;a(Laut;)Ljava/lang/Object;
    • parseMetadata

      @Nullable public static <T> T parseMetadata(ResourceMetadataReader<T> metaReader, InputStream inputStream)
      Mappings:
      Namespace Name Mixin selector
      named parseMetadata Lnet/minecraft/resource/AbstractFileResourcePack;parseMetadata(Lnet/minecraft/resource/metadata/ResourceMetadataReader;Ljava/io/InputStream;)Ljava/lang/Object;
      intermediary method_14392 Lnet/minecraft/class_3255;method_14392(Lnet/minecraft/class_3270;Ljava/io/InputStream;)Ljava/lang/Object;
      official a Latx;a(Laut;Ljava/io/InputStream;)Ljava/lang/Object;
    • getInfo

      public ResourcePackInfo getInfo()
      Specified by:
      getInfo in interface ResourcePack
      Mappings:
      Namespace Name Mixin selector
      named getInfo Lnet/minecraft/resource/ResourcePack;getInfo()Lnet/minecraft/resource/ResourcePackInfo;
      intermediary method_56926 Lnet/minecraft/class_3262;method_56926()Lnet/minecraft/class_9224;
      official a Laug;a()Lauf;