Package net.minecraft.resource
Class DirectoryResourcePack
java.lang.Object
net.minecraft.resource.AbstractFileResourcePack
net.minecraft.resource.DirectoryResourcePack
- All Implemented Interfaces:
AutoCloseable,ResourcePack
- Mappings:
Namespace Name official aijintermediary net/minecraft/class_3259named net/minecraft/resource/DirectoryResourcePack
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourcePack
ResourcePack.class_7664 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Joinerprivate final Pathprivate static final LoggerFields inherited from interface net.minecraft.resource.ResourcePack
METADATA_PATH_SUFFIX, PACK_METADATA_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidfindResources(ResourceType type, String namespace, String prefix, ResourcePack.class_7664 class_7664) getNamespaces(ResourceType type) static booleanisValidPath(Path path) static InputSupplier<InputStream>method_45180(Identifier identifier, Path path) static voidmethod_45183(String string, Path path, List<String> list, ResourcePack.class_7664 class_7664) private static @Nullable InputSupplier<InputStream>method_45187(Path path) open(ResourceType type, Identifier id) Methods inherited from class net.minecraft.resource.AbstractFileResourcePack
getName, parseMetadata, parseMetadataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourcePack
method_45178
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLaij;a:Lorg/slf4j/Logger;intermediary field_14187Lnet/minecraft/class_3259;field_14187:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/resource/DirectoryResourcePack;LOGGER:Lorg/slf4j/Logger;
-
field_40000
- Mappings:
Namespace Name Mixin selector official dLaij;d:Lcom/google/common/base/Joiner;intermediary field_40000Lnet/minecraft/class_3259;field_40000:Lcom/google/common/base/Joiner;named field_40000Lnet/minecraft/resource/DirectoryResourcePack;field_40000:Lcom/google/common/base/Joiner;
-
field_40001
- Mappings:
Namespace Name Mixin selector official eLaij;e:Ljava/nio/file/Path;intermediary field_40001Lnet/minecraft/class_3259;field_40001:Ljava/nio/file/Path;named field_40001Lnet/minecraft/resource/DirectoryResourcePack;field_40001:Ljava/nio/file/Path;
-
-
Constructor Details
-
DirectoryResourcePack
-
-
Method Details
-
openRoot
- Mappings:
Namespace Name Mixin selector official aLaih;a([Ljava/lang/String;)Lajl;intermediary method_14410Lnet/minecraft/class_3262;method_14410([Ljava/lang/String;)Lnet/minecraft/class_7367;named openRootLnet/minecraft/resource/ResourcePack;openRoot([Ljava/lang/String;)Lnet/minecraft/resource/InputSupplier;
-
isValidPath
- Mappings:
Namespace Name Mixin selector official aLaij;a(Ljava/nio/file/Path;)Zintermediary method_14402Lnet/minecraft/class_3259;method_14402(Ljava/nio/file/Path;)Znamed isValidPathLnet/minecraft/resource/DirectoryResourcePack;isValidPath(Ljava/nio/file/Path;)Z
-
open
- Mappings:
Namespace Name Mixin selector official aLaih;a(Laii;Labv;)Lajl;intermediary method_14405Lnet/minecraft/class_3262;method_14405(Lnet/minecraft/class_3264;Lnet/minecraft/class_2960;)Lnet/minecraft/class_7367;named openLnet/minecraft/resource/ResourcePack;open(Lnet/minecraft/resource/ResourceType;Lnet/minecraft/util/Identifier;)Lnet/minecraft/resource/InputSupplier;
-
method_45180
- Mappings:
Namespace Name Mixin selector official aLaij;a(Labv;Ljava/nio/file/Path;)Lajl;intermediary method_45180Lnet/minecraft/class_3259;method_45180(Lnet/minecraft/class_2960;Ljava/nio/file/Path;)Lnet/minecraft/class_7367;named method_45180Lnet/minecraft/resource/DirectoryResourcePack;method_45180(Lnet/minecraft/util/Identifier;Ljava/nio/file/Path;)Lnet/minecraft/resource/InputSupplier;
-
method_45187
- Mappings:
Namespace Name Mixin selector official bLaij;b(Ljava/nio/file/Path;)Lajl;intermediary method_45187Lnet/minecraft/class_3259;method_45187(Ljava/nio/file/Path;)Lnet/minecraft/class_7367;named method_45187Lnet/minecraft/resource/DirectoryResourcePack;method_45187(Ljava/nio/file/Path;)Lnet/minecraft/resource/InputSupplier;
-
findResources
public void findResources(ResourceType type, String namespace, String prefix, ResourcePack.class_7664 class_7664) - Mappings:
Namespace Name Mixin selector official aLaih;a(Laii;Ljava/lang/String;Ljava/lang/String;Laih$a;)Vintermediary method_14408Lnet/minecraft/class_3262;method_14408(Lnet/minecraft/class_3264;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_3262$class_7664;)Vnamed findResourcesLnet/minecraft/resource/ResourcePack;findResources(Lnet/minecraft/resource/ResourceType;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/resource/ResourcePack$class_7664;)V
-
method_45183
public static void method_45183(String string, Path path, List<String> list, ResourcePack.class_7664 class_7664) - Mappings:
Namespace Name Mixin selector official aLaij;a(Ljava/lang/String;Ljava/nio/file/Path;Ljava/util/List;Laih$a;)Vintermediary method_45183Lnet/minecraft/class_3259;method_45183(Ljava/lang/String;Ljava/nio/file/Path;Ljava/util/List;Lnet/minecraft/class_3262$class_7664;)Vnamed method_45183Lnet/minecraft/resource/DirectoryResourcePack;method_45183(Ljava/lang/String;Ljava/nio/file/Path;Ljava/util/List;Lnet/minecraft/resource/ResourcePack$class_7664;)V
-
getNamespaces
- Mappings:
Namespace Name Mixin selector official aLaih;a(Laii;)Ljava/util/Set;intermediary method_14406Lnet/minecraft/class_3262;method_14406(Lnet/minecraft/class_3264;)Ljava/util/Set;named getNamespacesLnet/minecraft/resource/ResourcePack;getNamespaces(Lnet/minecraft/resource/ResourceType;)Ljava/util/Set;
-
close
public void close()
-