Class OverlayResourcePack

java.lang.Object
net.minecraft.resource.OverlayResourcePack
All Implemented Interfaces:
AutoCloseable, ResourcePack

public class OverlayResourcePack extends Object implements ResourcePack
Mappings:
Namespace Name
named net/minecraft/resource/OverlayResourcePack
intermediary net/minecraft/class_8614
official asu
  • Field Details

    • base

      private final ResourcePack base
      Mappings:
      Namespace Name Mixin selector
      named base Lnet/minecraft/resource/OverlayResourcePack;base:Lnet/minecraft/resource/ResourcePack;
      intermediary field_45036 Lnet/minecraft/class_8614;field_45036:Lnet/minecraft/class_3262;
      official c Lasu;c:Latb;
    • overlaysAndBase

      private final List<ResourcePack> overlaysAndBase
      Mappings:
      Namespace Name Mixin selector
      named overlaysAndBase Lnet/minecraft/resource/OverlayResourcePack;overlaysAndBase:Ljava/util/List;
      intermediary field_45037 Lnet/minecraft/class_8614;field_45037:Ljava/util/List;
      official d Lasu;d:Ljava/util/List;
  • Constructor Details

    • OverlayResourcePack

      public OverlayResourcePack(ResourcePack base, List<ResourcePack> overlays)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/resource/OverlayResourcePack;<init>(Lnet/minecraft/resource/ResourcePack;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_8614;<init>(Lnet/minecraft/class_3262;Ljava/util/List;)V
      official <init> Lasu;<init>(Latb;Ljava/util/List;)V
  • Method Details

    • openRoot

      @Nullable public @Nullable InputSupplier<InputStream> openRoot(String[] segments)
      Specified by:
      openRoot in interface ResourcePack
      Mappings:
      Namespace Name Mixin selector
      named openRoot Lnet/minecraft/resource/ResourcePack;openRoot([Ljava/lang/String;)Lnet/minecraft/resource/InputSupplier;
      intermediary method_14410 Lnet/minecraft/class_3262;method_14410([Ljava/lang/String;)Lnet/minecraft/class_7367;
      official a Latb;a([Ljava/lang/String;)Lauh;
    • open

      Specified by:
      open in interface ResourcePack
      Mappings:
      Namespace Name Mixin selector
      named open Lnet/minecraft/resource/ResourcePack;open(Lnet/minecraft/resource/ResourceType;Lnet/minecraft/util/Identifier;)Lnet/minecraft/resource/InputSupplier;
      intermediary method_14405 Lnet/minecraft/class_3262;method_14405(Lnet/minecraft/class_3264;Lnet/minecraft/class_2960;)Lnet/minecraft/class_7367;
      official a Latb;a(Latd;Lalf;)Lauh;
    • findResources

      public void findResources(ResourceType type, String namespace, String prefix, ResourcePack.ResultConsumer consumer)
      Specified by:
      findResources in interface ResourcePack
      Mappings:
      Namespace Name Mixin selector
      named findResources Lnet/minecraft/resource/ResourcePack;findResources(Lnet/minecraft/resource/ResourceType;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/resource/ResourcePack$ResultConsumer;)V
      intermediary method_14408 Lnet/minecraft/class_3262;method_14408(Lnet/minecraft/class_3264;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_3262$class_7664;)V
      official a Latb;a(Latd;Ljava/lang/String;Ljava/lang/String;Latb$a;)V
    • getNamespaces

      public Set<String> getNamespaces(ResourceType type)
      Specified by:
      getNamespaces in interface ResourcePack
      Mappings:
      Namespace Name Mixin selector
      named getNamespaces Lnet/minecraft/resource/ResourcePack;getNamespaces(Lnet/minecraft/resource/ResourceType;)Ljava/util/Set;
      intermediary method_14406 Lnet/minecraft/class_3262;method_14406(Lnet/minecraft/class_3264;)Ljava/util/Set;
      official a Latb;a(Latd;)Ljava/util/Set;
    • 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 Latb;a(Lato;)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 Latb;a()Lata;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface ResourcePack