Class ReloadableResourceManagerImpl

java.lang.Object
net.minecraft.resource.ReloadableResourceManagerImpl
All Implemented Interfaces:
ReloadableResourceManager, ResourceManager

@Environment(CLIENT) public class ReloadableResourceManagerImpl extends Object implements ReloadableResourceManager
Mappings:
Namespace Name
official cev
intermediary net/minecraft/class_1660
named net/minecraft/resource/ReloadableResourceManagerImpl
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lcev;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_8113 Lnet/minecraft/class_1660;field_8113:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/resource/ReloadableResourceManagerImpl;LOGGER:Lorg/apache/logging/log4j/Logger;
    • JOINER

      private static final Joiner JOINER
      Mappings:
      Namespace Name Mixin selector
      official b Lcev;b:Lcom/google/common/base/Joiner;
      intermediary field_6629 Lnet/minecraft/class_1660;field_6629:Lcom/google/common/base/Joiner;
      named JOINER Lnet/minecraft/resource/ReloadableResourceManagerImpl;JOINER:Lcom/google/common/base/Joiner;
    • fallbackManagers

      private final Map<String,FallbackResourceManager> fallbackManagers
      Mappings:
      Namespace Name Mixin selector
      official c Lcev;c:Ljava/util/Map;
      intermediary field_6630 Lnet/minecraft/class_1660;field_6630:Ljava/util/Map;
      named fallbackManagers Lnet/minecraft/resource/ReloadableResourceManagerImpl;fallbackManagers:Ljava/util/Map;
    • listeners

      private final List<ResourceReloadListener> listeners
      Mappings:
      Namespace Name Mixin selector
      official d Lcev;d:Ljava/util/List;
      intermediary field_6631 Lnet/minecraft/class_1660;field_6631:Ljava/util/List;
      named listeners Lnet/minecraft/resource/ReloadableResourceManagerImpl;listeners:Ljava/util/List;
    • namespaces

      private final Set<String> namespaces
      Mappings:
      Namespace Name Mixin selector
      official e Lcev;e:Ljava/util/Set;
      intermediary field_6632 Lnet/minecraft/class_1660;field_6632:Ljava/util/Set;
      named namespaces Lnet/minecraft/resource/ReloadableResourceManagerImpl;namespaces:Ljava/util/Set;
    • metaSerializer

      private final MetadataSerializer metaSerializer
      Mappings:
      Namespace Name Mixin selector
      official f Lcev;f:Lcfg;
      intermediary field_6633 Lnet/minecraft/class_1660;field_6633:Lnet/minecraft/class_1671;
      named metaSerializer Lnet/minecraft/resource/ReloadableResourceManagerImpl;metaSerializer:Lnet/minecraft/util/MetadataSerializer;
  • Constructor Details

    • ReloadableResourceManagerImpl

      public ReloadableResourceManagerImpl(MetadataSerializer metaSerializer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcev;<init>(Lcfg;)V
      intermediary <init> Lnet/minecraft/class_1660;<init>(Lnet/minecraft/class_1671;)V
      named <init> Lnet/minecraft/resource/ReloadableResourceManagerImpl;<init>(Lnet/minecraft/util/MetadataSerializer;)V
  • Method Details

    • add

      public void add(ResourcePack pack)
      Mappings:
      Namespace Name Mixin selector
      official a Lcev;a(Lcer;)V
      intermediary method_5916 Lnet/minecraft/class_1660;method_5916(Lnet/minecraft/class_1655;)V
      named add Lnet/minecraft/resource/ReloadableResourceManagerImpl;add(Lnet/minecraft/resource/ResourcePack;)V
    • getAllNamespaces

      public Set<String> getAllNamespaces()
      Specified by:
      getAllNamespaces in interface ResourceManager
      Mappings:
      Namespace Name Mixin selector
      official a Lcep;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 Lcep;a(Lnf;)Lceo;
      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;
    • getAllResources

      public List<Resource> getAllResources(Identifier id) throws IOException
      Specified by:
      getAllResources in interface ResourceManager
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lcep;b(Lnf;)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;
    • clear

      private void clear()
      Mappings:
      Namespace Name Mixin selector
      official b Lcev;b()V
      intermediary method_5917 Lnet/minecraft/class_1660;method_5917()V
      named clear Lnet/minecraft/resource/ReloadableResourceManagerImpl;clear()V
    • reload

      public void reload(List<ResourcePack> resourcePacks)
      Specified by:
      reload in interface ReloadableResourceManager
      Mappings:
      Namespace Name Mixin selector
      official a Lcen;a(Ljava/util/List;)V
      intermediary method_5886 Lnet/minecraft/class_1651;method_5886(Ljava/util/List;)V
      named reload Lnet/minecraft/resource/ReloadableResourceManager;reload(Ljava/util/List;)V
    • registerListener

      public void registerListener(ResourceReloadListener listener)
      Specified by:
      registerListener in interface ReloadableResourceManager
      Mappings:
      Namespace Name Mixin selector
      official a Lcen;a(Lceq;)V
      intermediary method_5885 Lnet/minecraft/class_1651;method_5885(Lnet/minecraft/class_286;)V
      named registerListener Lnet/minecraft/resource/ReloadableResourceManager;registerListener(Lnet/minecraft/resource/ResourceReloadListener;)V
    • notifyListeners

      private void notifyListeners()
      Mappings:
      Namespace Name Mixin selector
      official c Lcev;c()V
      intermediary method_5918 Lnet/minecraft/class_1660;method_5918()V
      named notifyListeners Lnet/minecraft/resource/ReloadableResourceManagerImpl;notifyListeners()V