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 bnb
intermediary net/minecraft/class_1250
named net/minecraft/client/resource/FallbackResourceManager
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lbnb;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_5229 Lnet/minecraft/class_1250;field_5229: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 Lbnb;a:Ljava/util/List;
      intermediary field_5228 Lnet/minecraft/class_1250;field_5228: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 Lbnb;c:Lbny;
      intermediary field_5230 Lnet/minecraft/class_1250;field_5230:Lnet/minecraft/class_1275;
      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> Lbnb;<init>(Lbny;)V
      intermediary <init> Lnet/minecraft/class_1250;<init>(Lnet/minecraft/class_1275;)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 Lbnb;a(Lbnk;)V
      intermediary method_4351 Lnet/minecraft/class_1250;method_4351(Lnet/minecraft/class_1260;)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 Lbni;a()Ljava/util/Set;
      intermediary method_4363 Lnet/minecraft/class_1258;method_4363()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 Lbni;a(Ljy;)Lbnh;
      intermediary method_4364 Lnet/minecraft/class_1258;method_4364(Lnet/minecraft/class_1605;)Lnet/minecraft/class_1257;
      named getResource Lnet/minecraft/resource/ResourceManager;getResource(Lnet/minecraft/util/Identifier;)Lnet/minecraft/resource/Resource;
    • method_4352

      protected InputStream method_4352​(Identifier id, ResourcePack pack) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbnb;a(Ljy;Lbnk;)Ljava/io/InputStream;
      intermediary method_4352 Lnet/minecraft/class_1250;method_4352(Lnet/minecraft/class_1605;Lnet/minecraft/class_1260;)Ljava/io/InputStream;
      named method_4352 Lnet/minecraft/client/resource/FallbackResourceManager;method_4352(Lnet/minecraft/util/Identifier;Lnet/minecraft/resource/ResourcePack;)Ljava/io/InputStream;
    • method_4365

      public List<Resource> method_4365​(Identifier identifier) throws IOException
      Specified by:
      method_4365 in interface ResourceManager
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lbni;b(Ljy;)Ljava/util/List;
      intermediary method_4365 Lnet/minecraft/class_1258;method_4365(Lnet/minecraft/class_1605;)Ljava/util/List;
      named method_4365 Lnet/minecraft/resource/ResourceManager;method_4365(Lnet/minecraft/util/Identifier;)Ljava/util/List;
    • method_4354

      static Identifier method_4354​(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official c Lbnb;c(Ljy;)Ljy;
      intermediary method_4354 Lnet/minecraft/class_1250;method_4354(Lnet/minecraft/class_1605;)Lnet/minecraft/class_1605;
      named method_4354 Lnet/minecraft/client/resource/FallbackResourceManager;method_4354(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;