Package net.minecraft.resource
Class DefaultResourcePackBuilder
java.lang.Object
net.minecraft.resource.DefaultResourcePackBuilder
- Mappings:
Namespace Name named net/minecraft/resource/DefaultResourcePackBuilder
intermediary net/minecraft/class_7665
official asn
-
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
(ResourcePackInfo info) 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 named LOGGER
Lnet/minecraft/resource/DefaultResourcePackBuilder;LOGGER:Lorg/slf4j/Logger;
intermediary field_40005
Lnet/minecraft/class_7665;field_40005:Lorg/slf4j/Logger;
official b
Lasn;b:Lorg/slf4j/Logger;
-
callback
- Mappings:
Namespace Name Mixin selector named callback
Lnet/minecraft/resource/DefaultResourcePackBuilder;callback:Ljava/util/function/Consumer;
intermediary field_40004
Lnet/minecraft/class_7665;field_40004:Ljava/util/function/Consumer;
official a
Lasn;a:Ljava/util/function/Consumer;
-
RESOURCE_TYPE_TO_PATH
- Mappings:
Namespace Name Mixin selector named RESOURCE_TYPE_TO_PATH
Lnet/minecraft/resource/DefaultResourcePackBuilder;RESOURCE_TYPE_TO_PATH:Ljava/util/Map;
intermediary field_40006
Lnet/minecraft/class_7665;field_40006:Ljava/util/Map;
official c
Lasn;c:Ljava/util/Map;
-
rootPaths
- Mappings:
Namespace Name Mixin selector named rootPaths
Lnet/minecraft/resource/DefaultResourcePackBuilder;rootPaths:Ljava/util/Set;
intermediary field_40007
Lnet/minecraft/class_7665;field_40007:Ljava/util/Set;
official d
Lasn;d:Ljava/util/Set;
-
paths
- Mappings:
Namespace Name Mixin selector named paths
Lnet/minecraft/resource/DefaultResourcePackBuilder;paths:Ljava/util/Map;
intermediary field_40008
Lnet/minecraft/class_7665;field_40008:Ljava/util/Map;
official e
Lasn;e:Ljava/util/Map;
-
metadataMap
- Mappings:
Namespace Name Mixin selector named metadataMap
Lnet/minecraft/resource/DefaultResourcePackBuilder;metadataMap:Lnet/minecraft/resource/metadata/ResourceMetadataMap;
intermediary field_40009
Lnet/minecraft/class_7665;field_40009:Lnet/minecraft/class_7662;
official f
Lasn;f:Lasa;
-
namespaces
- Mappings:
Namespace Name Mixin selector named namespaces
Lnet/minecraft/resource/DefaultResourcePackBuilder;namespaces:Ljava/util/Set;
intermediary field_40010
Lnet/minecraft/class_7665;field_40010:Ljava/util/Set;
official g
Lasn;g:Ljava/util/Set;
-
-
Constructor Details
-
DefaultResourcePackBuilder
public DefaultResourcePackBuilder()
-
-
Method Details
-
toPath
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named toPath
Lnet/minecraft/resource/DefaultResourcePackBuilder;toPath(Ljava/net/URI;)Ljava/nio/file/Path;
intermediary method_45203
Lnet/minecraft/class_7665;method_45203(Ljava/net/URI;)Ljava/nio/file/Path;
official a
Lasn;a(Ljava/net/URI;)Ljava/nio/file/Path;
-
exists
- Mappings:
Namespace Name Mixin selector named exists
Lnet/minecraft/resource/DefaultResourcePackBuilder;exists(Ljava/nio/file/Path;)Z
intermediary method_45209
Lnet/minecraft/class_7665;method_45209(Ljava/nio/file/Path;)Z
official b
Lasn;b(Ljava/nio/file/Path;)Z
-
addRootPath
- Mappings:
Namespace Name Mixin selector named addRootPath
Lnet/minecraft/resource/DefaultResourcePackBuilder;addRootPath(Ljava/nio/file/Path;)V
intermediary method_45212
Lnet/minecraft/class_7665;method_45212(Ljava/nio/file/Path;)V
official c
Lasn;c(Ljava/nio/file/Path;)V
-
addPath
- Mappings:
Namespace Name Mixin selector named addPath
Lnet/minecraft/resource/DefaultResourcePackBuilder;addPath(Lnet/minecraft/resource/ResourceType;Ljava/nio/file/Path;)V
intermediary method_45208
Lnet/minecraft/class_7665;method_45208(Lnet/minecraft/class_3264;Ljava/nio/file/Path;)V
official b
Lasn;b(Lask;Ljava/nio/file/Path;)V
-
withDefaultPaths
- Mappings:
Namespace Name Mixin selector named withDefaultPaths
Lnet/minecraft/resource/DefaultResourcePackBuilder;withDefaultPaths()Lnet/minecraft/resource/DefaultResourcePackBuilder;
intermediary method_45197
Lnet/minecraft/class_7665;method_45197()Lnet/minecraft/class_7665;
official a
Lasn;a()Lasn;
-
withPaths
- Mappings:
Namespace Name Mixin selector named withPaths
Lnet/minecraft/resource/DefaultResourcePackBuilder;withPaths(Lnet/minecraft/resource/ResourceType;Ljava/lang/Class;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
intermediary method_45200
Lnet/minecraft/class_7665;method_45200(Lnet/minecraft/class_3264;Ljava/lang/Class;)Lnet/minecraft/class_7665;
official a
Lasn;a(Lask;Ljava/lang/Class;)Lasn;
-
runCallback
- Mappings:
Namespace Name Mixin selector named runCallback
Lnet/minecraft/resource/DefaultResourcePackBuilder;runCallback()Lnet/minecraft/resource/DefaultResourcePackBuilder;
intermediary method_45207
Lnet/minecraft/class_7665;method_45207()Lnet/minecraft/class_7665;
official b
Lasn;b()Lasn;
-
withRoot
- Mappings:
Namespace Name Mixin selector named withRoot
Lnet/minecraft/resource/DefaultResourcePackBuilder;withRoot(Ljava/nio/file/Path;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
intermediary method_45204
Lnet/minecraft/class_7665;method_45204(Ljava/nio/file/Path;)Lnet/minecraft/class_7665;
official a
Lasn;a(Ljava/nio/file/Path;)Lasn;
-
withPath
- Mappings:
Namespace Name Mixin selector named withPath
Lnet/minecraft/resource/DefaultResourcePackBuilder;withPath(Lnet/minecraft/resource/ResourceType;Ljava/nio/file/Path;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
intermediary method_45201
Lnet/minecraft/class_7665;method_45201(Lnet/minecraft/class_3264;Ljava/nio/file/Path;)Lnet/minecraft/class_7665;
official a
Lasn;a(Lask;Ljava/nio/file/Path;)Lasn;
-
withMetadataMap
- Mappings:
Namespace Name Mixin selector named withMetadataMap
Lnet/minecraft/resource/DefaultResourcePackBuilder;withMetadataMap(Lnet/minecraft/resource/metadata/ResourceMetadataMap;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
intermediary method_45198
Lnet/minecraft/class_7665;method_45198(Lnet/minecraft/class_7662;)Lnet/minecraft/class_7665;
official a
Lasn;a(Lasa;)Lasn;
-
withNamespaces
- Mappings:
Namespace Name Mixin selector named withNamespaces
Lnet/minecraft/resource/DefaultResourcePackBuilder;withNamespaces([Ljava/lang/String;)Lnet/minecraft/resource/DefaultResourcePackBuilder;
intermediary method_45206
Lnet/minecraft/class_7665;method_45206([Ljava/lang/String;)Lnet/minecraft/class_7665;
official a
Lasn;a([Ljava/lang/String;)Lasn;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/resource/DefaultResourcePackBuilder;build(Lnet/minecraft/resource/ResourcePackInfo;)Lnet/minecraft/resource/DefaultResourcePack;
intermediary method_45210
Lnet/minecraft/class_7665;method_45210(Lnet/minecraft/class_9224;)Lnet/minecraft/class_3268;
official a
Lasn;a(Lash;)Lasm;
-
reverse
- Mappings:
Namespace Name Mixin selector named reverse
Lnet/minecraft/resource/DefaultResourcePackBuilder;reverse(Ljava/util/Collection;)Ljava/util/List;
intermediary method_45205
Lnet/minecraft/class_7665;method_45205(Ljava/util/Collection;)Ljava/util/List;
official a
Lasn;a(Ljava/util/Collection;)Ljava/util/List;
-