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 arz
  • 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 Larz;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 Larz;d:Lash;
  • 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> Larz;<init>(Lash;)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 Lasi;a(Lasv;)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 Larz;a(Lasv;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 Lasi;a()Lash;