Package net.minecraft.client.resource
Class DefaultClientResourcePack
java.lang.Object
net.minecraft.resource.DefaultResourcePack
net.minecraft.client.resource.DefaultClientResourcePack
- All Implemented Interfaces:
AutoCloseable
,ResourcePack
- Mappings:
Namespace Name official fil
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, Predicate<Identifier> allowedPathPredicate) protected @Nullable InputStream
getInputStream
(String path) Methods inherited from class net.minecraft.resource.DefaultResourcePack
close, getFactory, getName, getNamespaces, open, openRoot, parseMetadata
-
Field Details
-
index
- Mappings:
Namespace Name Mixin selector official g
Lfil;g:Lfij;
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>
Lfil;<init>(Lagy;Lfij;)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
Lagw;c(Lagu;Laaj;)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
Lagt;b(Lagu;Laaj;)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
Lagw;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, Predicate<Identifier> allowedPathPredicate) - Specified by:
findResources
in interfaceResourcePack
- Overrides:
findResources
in classDefaultResourcePack
- Mappings:
Namespace Name Mixin selector official a
Lagt;a(Lagu;Ljava/lang/String;Ljava/lang/String;Ljava/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;Ljava/util/function/Predicate;)Ljava/util/Collection;
named findResources
Lnet/minecraft/resource/ResourcePack;findResources(Lnet/minecraft/resource/ResourceType;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Collection;
-