Class FallbackResourceManager

java.lang.Object
net.minecraft.client.resource.FallbackResourceManager
All Implemented Interfaces:
ResourceManager

@Environment(CLIENT) public class FallbackResourceManager extends Object implements ResourceManager
Mappings:
Namespace Name
official bvw
intermediary net/minecraft/class_1646
named net/minecraft/client/resource/FallbackResourceManager
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lbvw;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_11258 Lnet/minecraft/class_1646;field_11258:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/resource/FallbackResourceManager;LOGGER:Lorg/apache/logging/log4j/Logger;
    • resourcePacks

      protected final List<ResourcePack> resourcePacks
      Mappings:
      Namespace Name Mixin selector
      official a Lbvw;a:Ljava/util/List;
      intermediary field_6609 Lnet/minecraft/class_1646;field_6609:Ljava/util/List;
      named resourcePacks Lnet/minecraft/client/resource/FallbackResourceManager;resourcePacks:Ljava/util/List;
    • serializer

      private final MetadataSerializer serializer
      Mappings:
      Namespace Name Mixin selector
      official c Lbvw;c:Lbwt;
      intermediary field_6610 Lnet/minecraft/class_1646;field_6610:Lnet/minecraft/class_1671;
      named serializer Lnet/minecraft/client/resource/FallbackResourceManager;serializer:Lnet/minecraft/util/MetadataSerializer;
  • Constructor Details

    • FallbackResourceManager

      public FallbackResourceManager(MetadataSerializer serializer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvw;<init>(Lbwt;)V
      intermediary <init> Lnet/minecraft/class_1646;<init>(Lnet/minecraft/class_1671;)V
      named <init> Lnet/minecraft/client/resource/FallbackResourceManager;<init>(Lnet/minecraft/util/MetadataSerializer;)V
  • Method Details

    • addResourcePack

      public void addResourcePack(ResourcePack pack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvw;a(Lbwf;)V
      intermediary method_5882 Lnet/minecraft/class_1646;method_5882(Lnet/minecraft/class_1655;)V
      named addResourcePack Lnet/minecraft/client/resource/FallbackResourceManager;addResourcePack(Lnet/minecraft/resource/ResourcePack;)V
    • getAllNamespaces

      public Set<String> getAllNamespaces()
      Specified by:
      getAllNamespaces in interface ResourceManager
      Mappings:
      Namespace Name Mixin selector
      official a Lbwd;a()Ljava/util/Set;
      intermediary method_5892 Lnet/minecraft/class_1654;method_5892()Ljava/util/Set;
      named getAllNamespaces Lnet/minecraft/resource/ResourceManager;getAllNamespaces()Ljava/util/Set;
    • getResource

      public Resource getResource(Identifier id) throws IOException
      Specified by:
      getResource in interface ResourceManager
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbwd;a(Lkl;)Lbwc;
      intermediary method_5893 Lnet/minecraft/class_1654;method_5893(Lnet/minecraft/class_1653;)Lnet/minecraft/class_1652;
      named getResource Lnet/minecraft/resource/ResourceManager;getResource(Lnet/minecraft/util/Identifier;)Lnet/minecraft/resource/Resource;
    • method_10362

      protected InputStream method_10362(Identifier id, ResourcePack pack) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbvw;a(Lkl;Lbwf;)Ljava/io/InputStream;
      intermediary method_10362 Lnet/minecraft/class_1646;method_10362(Lnet/minecraft/class_1653;Lnet/minecraft/class_1655;)Ljava/io/InputStream;
      named method_10362 Lnet/minecraft/client/resource/FallbackResourceManager;method_10362(Lnet/minecraft/util/Identifier;Lnet/minecraft/resource/ResourcePack;)Ljava/io/InputStream;
    • method_12498

      private void method_12498(Identifier identifier) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official d Lbvw;d(Lkl;)V
      intermediary method_12498 Lnet/minecraft/class_1646;method_12498(Lnet/minecraft/class_1653;)V
      named method_12498 Lnet/minecraft/client/resource/FallbackResourceManager;method_12498(Lnet/minecraft/util/Identifier;)V
    • getAllResources

      public List<Resource> getAllResources(Identifier id) throws IOException
      Specified by:
      getAllResources in interface ResourceManager
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lbwd;b(Lkl;)Ljava/util/List;
      intermediary method_5894 Lnet/minecraft/class_1654;method_5894(Lnet/minecraft/class_1653;)Ljava/util/List;
      named getAllResources Lnet/minecraft/resource/ResourceManager;getAllResources(Lnet/minecraft/util/Identifier;)Ljava/util/List;
    • method_5883

      static Identifier method_5883(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official c Lbvw;c(Lkl;)Lkl;
      intermediary method_5883 Lnet/minecraft/class_1646;method_5883(Lnet/minecraft/class_1653;)Lnet/minecraft/class_1653;
      named method_5883 Lnet/minecraft/client/resource/FallbackResourceManager;method_5883(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;