Package net.minecraft.resource
Class DefaultResourcePackBuilder
java.lang.Object
net.minecraft.resource.DefaultResourcePackBuilder
- Mappings:
Namespace Name official ajn
intermediary net/minecraft/class_7665
named net/minecraft/resource/DefaultResourcePackBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic Consumer<DefaultResourcePackBuilder>
private static final Logger
private ResourceMetadataMap
private final Map<ResourceType,
Set<Path>> private static final Map<ResourceType,
Path> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addPath
(ResourceType type, Path path) private void
addRootPath
(Path path) build()
private boolean
reverse
(Collection<Path> paths) private static Path
withMetadataMap
(ResourceMetadataMap metadataMap) withNamespaces
(String[] namespaces) withPath
(ResourceType type, Path path) withPaths
(ResourceType type, Class<?> clazz)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Lajn;b:Lorg/slf4j/Logger;
intermediary field_40005
Lnet/minecraft/class_7665;field_40005:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/resource/DefaultResourcePackBuilder;LOGGER:Lorg/slf4j/Logger;
-
callback
- Mappings:
Namespace Name Mixin selector official a
Lajn;a:Ljava/util/function/Consumer;
intermediary field_40004
Lnet/minecraft/class_7665;field_40004:Ljava/util/function/Consumer;
named callback
Lnet/minecraft/resource/DefaultResourcePackBuilder;callback:Ljava/util/function/Consumer;
-
RESOURCE_TYPE_TO_PATH
- Mappings:
Namespace Name Mixin selector official c
Lajn;c:Ljava/util/Map;
intermediary field_40006
Lnet/minecraft/class_7665;field_40006:Ljava/util/Map;
named RESOURCE_TYPE_TO_PATH
Lnet/minecraft/resource/DefaultResourcePackBuilder;RESOURCE_TYPE_TO_PATH:Ljava/util/Map;
-
rootPaths
- Mappings:
Namespace Name Mixin selector official d
Lajn;d:Ljava/util/Set;
intermediary field_40007
Lnet/minecraft/class_7665;field_40007:Ljava/util/Set;
named rootPaths
Lnet/minecraft/resource/DefaultResourcePackBuilder;rootPaths:Ljava/util/Set;
-
paths
- Mappings:
Namespace Name Mixin selector official e
Lajn;e:Ljava/util/Map;
intermediary field_40008
Lnet/minecraft/class_7665;field_40008:Ljava/util/Map;
named paths
Lnet/minecraft/resource/DefaultResourcePackBuilder;paths:Ljava/util/Map;
-
metadataMap
- Mappings:
Namespace Name Mixin selector official f
Lajn;f:Lajg;
intermediary field_40009
Lnet/minecraft/class_7665;field_40009:Lnet/minecraft/class_7662;
named metadataMap
Lnet/minecraft/resource/DefaultResourcePackBuilder;metadataMap:Lnet/minecraft/resource/metadata/ResourceMetadataMap;
-
namespaces
- Mappings:
Namespace Name Mixin selector official g
Lajn;g:Ljava/util/Set;
intermediary field_40010
Lnet/minecraft/class_7665;field_40010:Ljava/util/Set;
named namespaces
Lnet/minecraft/resource/DefaultResourcePackBuilder;namespaces:Ljava/util/Set;
-
-
Constructor Details
-
DefaultResourcePackBuilder
public DefaultResourcePackBuilder()
-
-
Method Details
-
toPath
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lajn;a(Ljava/net/URI;)Ljava/nio/file/Path;
intermediary method_45203
Lnet/minecraft/class_7665;method_45203(Ljava/net/URI;)Ljava/nio/file/Path;
named toPath
Lnet/minecraft/resource/DefaultResourcePackBuilder;toPath(Ljava/net/URI;)Ljava/nio/file/Path;
-
exists
- Mappings:
Namespace Name Mixin selector official b
Lajn;b(Ljava/nio/file/Path;)Z
intermediary method_45209
Lnet/minecraft/class_7665;method_45209(Ljava/nio/file/Path;)Z
named exists
Lnet/minecraft/resource/DefaultResourcePackBuilder;exists(Ljava/nio/file/Path;)Z
-
addRootPath
- Mappings:
Namespace Name Mixin selector official c
Lajn;c(Ljava/nio/file/Path;)V
intermediary method_45212
Lnet/minecraft/class_7665;method_45212(Ljava/nio/file/Path;)V
named addRootPath
Lnet/minecraft/resource/DefaultResourcePackBuilder;addRootPath(Ljava/nio/file/Path;)V
-
addPath
- Mappings:
Namespace Name Mixin selector official b
Lajn;b(Lajk;Ljava/nio/file/Path;)V
intermediary method_45208
Lnet/minecraft/class_7665;method_45208(Lnet/minecraft/class_3264;Ljava/nio/file/Path;)V
named addPath
Lnet/minecraft/resource/DefaultResourcePackBuilder;addPath(Lnet/minecraft/resource/ResourceType;Ljava/nio/file/Path;)V
-
withDefaultPaths
- Mappings:
Namespace Name Mixin selector official a
Lajn;a()Lajn;
intermediary method_45197
Lnet/minecraft/class_7665;method_45197()Lnet/minecraft/class_7665;
named withDefaultPaths
Lnet/minecraft/resource/DefaultResourcePackBuilder;withDefaultPaths()Lnet/minecraft/resource/DefaultResourcePackBuilder;
-
withPaths
- Mappings:
Namespace Name Mixin selector official a
Lajn;a(Lajk;Ljava/lang/Class;)Lajn;
intermediary method_45200
Lnet/minecraft/class_7665;method_45200(Lnet/minecraft/class_3264;Ljava/lang/Class;)Lnet/minecraft/class_7665;
named withPaths
Lnet/minecraft/resource/DefaultResourcePackBuilder;withPaths(Lnet/minecraft/resource/ResourceType;Ljava/lang/Class;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
-
runCallback
- Mappings:
Namespace Name Mixin selector official b
Lajn;b()Lajn;
intermediary method_45207
Lnet/minecraft/class_7665;method_45207()Lnet/minecraft/class_7665;
named runCallback
Lnet/minecraft/resource/DefaultResourcePackBuilder;runCallback()Lnet/minecraft/resource/DefaultResourcePackBuilder;
-
withRoot
- Mappings:
Namespace Name Mixin selector official a
Lajn;a(Ljava/nio/file/Path;)Lajn;
intermediary method_45204
Lnet/minecraft/class_7665;method_45204(Ljava/nio/file/Path;)Lnet/minecraft/class_7665;
named withRoot
Lnet/minecraft/resource/DefaultResourcePackBuilder;withRoot(Ljava/nio/file/Path;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
-
withPath
- Mappings:
Namespace Name Mixin selector official a
Lajn;a(Lajk;Ljava/nio/file/Path;)Lajn;
intermediary method_45201
Lnet/minecraft/class_7665;method_45201(Lnet/minecraft/class_3264;Ljava/nio/file/Path;)Lnet/minecraft/class_7665;
named withPath
Lnet/minecraft/resource/DefaultResourcePackBuilder;withPath(Lnet/minecraft/resource/ResourceType;Ljava/nio/file/Path;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
-
withMetadataMap
- Mappings:
Namespace Name Mixin selector official a
Lajn;a(Lajg;)Lajn;
intermediary method_45198
Lnet/minecraft/class_7665;method_45198(Lnet/minecraft/class_7662;)Lnet/minecraft/class_7665;
named withMetadataMap
Lnet/minecraft/resource/DefaultResourcePackBuilder;withMetadataMap(Lnet/minecraft/resource/metadata/ResourceMetadataMap;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
-
withNamespaces
- Mappings:
Namespace Name Mixin selector official a
Lajn;a([Ljava/lang/String;)Lajn;
intermediary method_45206
Lnet/minecraft/class_7665;method_45206([Ljava/lang/String;)Lnet/minecraft/class_7665;
named withNamespaces
Lnet/minecraft/resource/DefaultResourcePackBuilder;withNamespaces([Ljava/lang/String;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
-
build
- Mappings:
Namespace Name Mixin selector official c
Lajn;c()Lajm;
intermediary method_45210
Lnet/minecraft/class_7665;method_45210()Lnet/minecraft/class_3268;
named build
Lnet/minecraft/resource/DefaultResourcePackBuilder;build()Lnet/minecraft/resource/DefaultResourcePack;
-
reverse
- Mappings:
Namespace Name Mixin selector official a
Lajn;a(Ljava/util/Collection;)Ljava/util/List;
intermediary method_45205
Lnet/minecraft/class_7665;method_45205(Ljava/util/Collection;)Ljava/util/List;
named reverse
Lnet/minecraft/resource/DefaultResourcePackBuilder;reverse(Ljava/util/Collection;)Ljava/util/List;
-