Package net.minecraft.client.resource
Class DefaultClientResourcePack
java.lang.Object
net.minecraft.resource.DefaultResourcePack
net.minecraft.client.resource.DefaultClientResourcePack
- All Implemented Interfaces:
AutoCloseable
,ResourceFactory
,ResourcePack
- Mappings:
Namespace Name official exr
intermediary net/minecraft/class_1065
named net/minecraft/client/resource/DefaultClientResourcePack
-
Field Summary
Fields inherited from class net.minecraft.resource.DefaultResourcePack
metadata, namespaces, resourceClass, resourcePath
Fields inherited from interface net.minecraft.resource.ResourcePack
METADATA_PATH_SUFFIX, PACK_METADATA_NAME
-
Constructor Summary
ConstructorDescriptionDefaultClientResourcePack
(PackResourceMetadata metadata, ResourceIndex index) -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(ResourceType type, Identifier id) protected @Nullable InputStream
findInputStream
(ResourceType type, Identifier id) findResources
(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter) protected @Nullable InputStream
getInputStream
(String path) Methods inherited from class net.minecraft.resource.DefaultResourcePack
close, getName, getNamespaces, getResource, open, openRoot, parseMetadata
-
Field Details
-
index
- Mappings:
Namespace Name Mixin selector official g
Lexr;g:Lexp;
intermediary field_5291
Lnet/minecraft/class_1065;field_5291:Lnet/minecraft/class_1064;
named index
Lnet/minecraft/client/resource/DefaultClientResourcePack;index:Lnet/minecraft/client/resource/ResourceIndex;
-
-
Constructor Details
-
DefaultClientResourcePack
- Mappings:
Namespace Name Mixin selector official <init>
Lexr;<init>(Lada;Lexp;)V
intermediary <init>
Lnet/minecraft/class_1065;<init>(Lnet/minecraft/class_3272;Lnet/minecraft/class_1064;)V
named <init>
Lnet/minecraft/client/resource/DefaultClientResourcePack;<init>(Lnet/minecraft/resource/metadata/PackResourceMetadata;Lnet/minecraft/client/resource/ResourceIndex;)V
-
-
Method Details
-
findInputStream
- Overrides:
findInputStream
in classDefaultResourcePack
- Mappings:
Namespace Name Mixin selector official c
Lacy;c(Lacw;Lww;)Ljava/io/InputStream;
intermediary method_14416
Lnet/minecraft/class_3268;method_14416(Lnet/minecraft/class_3264;Lnet/minecraft/class_2960;)Ljava/io/InputStream;
named findInputStream
Lnet/minecraft/resource/DefaultResourcePack;findInputStream(Lnet/minecraft/resource/ResourceType;Lnet/minecraft/util/Identifier;)Ljava/io/InputStream;
-
contains
- Specified by:
contains
in interfaceResourcePack
- Overrides:
contains
in classDefaultResourcePack
- Mappings:
Namespace Name Mixin selector official b
Lacv;b(Lacw;Lww;)Z
intermediary method_14411
Lnet/minecraft/class_3262;method_14411(Lnet/minecraft/class_3264;Lnet/minecraft/class_2960;)Z
named contains
Lnet/minecraft/resource/ResourcePack;contains(Lnet/minecraft/resource/ResourceType;Lnet/minecraft/util/Identifier;)Z
-
getInputStream
- Overrides:
getInputStream
in classDefaultResourcePack
- Mappings:
Namespace Name Mixin selector official a
Lacy;a(Ljava/lang/String;)Ljava/io/InputStream;
intermediary method_14417
Lnet/minecraft/class_3268;method_14417(Ljava/lang/String;)Ljava/io/InputStream;
named getInputStream
Lnet/minecraft/resource/DefaultResourcePack;getInputStream(Ljava/lang/String;)Ljava/io/InputStream;
-
findResources
public Collection<Identifier> findResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter) - Specified by:
findResources
in interfaceResourcePack
- Overrides:
findResources
in classDefaultResourcePack
- Mappings:
Namespace Name Mixin selector official a
Lacv;a(Lacw;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection;
intermediary method_14408
Lnet/minecraft/class_3262;method_14408(Lnet/minecraft/class_3264;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection;
named findResources
Lnet/minecraft/resource/ResourcePack;findResources(Lnet/minecraft/resource/ResourceType;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection;
-