Package net.minecraft.client.resource
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 bnbintermediary net/minecraft/class_1250named net/minecraft/client/resource/FallbackResourceManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classFallbackResourceManager.LeakedResourceStream -
Field Summary
Fields Modifier and Type Field Description private static LoggerLOGGERprotected List<ResourcePack>resourcePacksprivate MetadataSerializerserializer -
Constructor Summary
Constructors Constructor Description FallbackResourceManager(MetadataSerializer serializer) -
Method Summary
Modifier and Type Method Description voidaddResourcePack(ResourcePack pack)Set<String>getAllNamespaces()List<Resource>getAllResources(Identifier id)ResourcegetResource(Identifier id)protected InputStreammethod_4352(Identifier id, ResourcePack pack)(package private) static Identifiermethod_4354(Identifier identifier)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLbnb;b:Lorg/apache/logging/log4j/Logger;intermediary field_5229Lnet/minecraft/class_1250;field_5229:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/resource/FallbackResourceManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
resourcePacks
- Mappings:
Namespace Name Mixin selector official aLbnb;a:Ljava/util/List;intermediary field_5228Lnet/minecraft/class_1250;field_5228:Ljava/util/List;named resourcePacksLnet/minecraft/client/resource/FallbackResourceManager;resourcePacks:Ljava/util/List;
-
serializer
- Mappings:
Namespace Name Mixin selector official cLbnb;c:Lbny;intermediary field_5230Lnet/minecraft/class_1250;field_5230:Lnet/minecraft/class_1275;named serializerLnet/minecraft/client/resource/FallbackResourceManager;serializer:Lnet/minecraft/util/MetadataSerializer;
-
-
Constructor Details
-
FallbackResourceManager
- Mappings:
Namespace Name Mixin selector official <init>Lbnb;<init>(Lbny;)Vintermediary <init>Lnet/minecraft/class_1250;<init>(Lnet/minecraft/class_1275;)Vnamed <init>Lnet/minecraft/client/resource/FallbackResourceManager;<init>(Lnet/minecraft/util/MetadataSerializer;)V
-
-
Method Details
-
addResourcePack
- Mappings:
Namespace Name Mixin selector official aLbnb;a(Lbnk;)Vintermediary method_4351Lnet/minecraft/class_1250;method_4351(Lnet/minecraft/class_1260;)Vnamed addResourcePackLnet/minecraft/client/resource/FallbackResourceManager;addResourcePack(Lnet/minecraft/resource/ResourcePack;)V
-
getAllNamespaces
- Specified by:
getAllNamespacesin interfaceResourceManager- Mappings:
Namespace Name Mixin selector official aLbni;a()Ljava/util/Set;intermediary method_4363Lnet/minecraft/class_1258;method_4363()Ljava/util/Set;named getAllNamespacesLnet/minecraft/resource/ResourceManager;getAllNamespaces()Ljava/util/Set;
-
getResource
- Specified by:
getResourcein interfaceResourceManager- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLbni;a(Ljy;)Lbnh;intermediary method_4364Lnet/minecraft/class_1258;method_4364(Lnet/minecraft/class_1605;)Lnet/minecraft/class_1257;named getResourceLnet/minecraft/resource/ResourceManager;getResource(Lnet/minecraft/util/Identifier;)Lnet/minecraft/resource/Resource;
-
method_4352
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLbnb;a(Ljy;Lbnk;)Ljava/io/InputStream;intermediary method_4352Lnet/minecraft/class_1250;method_4352(Lnet/minecraft/class_1605;Lnet/minecraft/class_1260;)Ljava/io/InputStream;named method_4352Lnet/minecraft/client/resource/FallbackResourceManager;method_4352(Lnet/minecraft/util/Identifier;Lnet/minecraft/resource/ResourcePack;)Ljava/io/InputStream;
-
getAllResources
- Specified by:
getAllResourcesin interfaceResourceManager- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLbni;b(Ljy;)Ljava/util/List;intermediary method_4365Lnet/minecraft/class_1258;method_4365(Lnet/minecraft/class_1605;)Ljava/util/List;named getAllResourcesLnet/minecraft/resource/ResourceManager;getAllResources(Lnet/minecraft/util/Identifier;)Ljava/util/List;
-
method_4354
- Mappings:
Namespace Name Mixin selector official cLbnb;c(Ljy;)Ljy;intermediary method_4354Lnet/minecraft/class_1250;method_4354(Lnet/minecraft/class_1605;)Lnet/minecraft/class_1605;named method_4354Lnet/minecraft/client/resource/FallbackResourceManager;method_4354(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;
-