Class DefaultResourcePackBuilder

java.lang.Object
net.minecraft.resource.DefaultResourcePackBuilder

public class DefaultResourcePackBuilder extends Object
Mappings:
Namespace Name
named net/minecraft/resource/DefaultResourcePackBuilder
intermediary net/minecraft/class_7665
official aul
  • Field Details

    • LOGGER

      private static final Logger 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 Laul;b:Lorg/slf4j/Logger;
    • callback

      public static Consumer<DefaultResourcePackBuilder> 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 Laul;a:Ljava/util/function/Consumer;
    • RESOURCE_TYPE_TO_PATH

      private static final Map<ResourceType,Path> 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 Laul;c:Ljava/util/Map;
    • rootPaths

      private final Set<Path> 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 Laul;d:Ljava/util/Set;
    • paths

      private final Map<ResourceType,Set<Path>> 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 Laul;e:Ljava/util/Map;
    • metadataMap

      private ResourceMetadataMap 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 Laul;f:Laty;
    • namespaces

      private final Set<String> 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 Laul;g:Ljava/util/Set;
  • Constructor Details

    • DefaultResourcePackBuilder

      public DefaultResourcePackBuilder()
  • Method Details

    • toPath

      private static Path toPath(URI uri) throws IOException
      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 Laul;a(Ljava/net/URI;)Ljava/nio/file/Path;
    • exists

      private boolean exists(Path path)
      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 Laul;b(Ljava/nio/file/Path;)Z
    • addRootPath

      private void addRootPath(Path path)
      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 Laul;c(Ljava/nio/file/Path;)V
    • addPath

      private void addPath(ResourceType type, Path path)
      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 Laul;b(Laui;Ljava/nio/file/Path;)V
    • withDefaultPaths

      public DefaultResourcePackBuilder 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 Laul;a()Laul;
    • withPaths

      public DefaultResourcePackBuilder withPaths(ResourceType type, Class<?> clazz)
      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 Laul;a(Laui;Ljava/lang/Class;)Laul;
    • runCallback

      public DefaultResourcePackBuilder 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 Laul;b()Laul;
    • withRoot

      public DefaultResourcePackBuilder withRoot(Path root)
      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 Laul;a(Ljava/nio/file/Path;)Laul;
    • withPath

      public DefaultResourcePackBuilder withPath(ResourceType type, Path path)
      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 Laul;a(Laui;Ljava/nio/file/Path;)Laul;
    • withMetadataMap

      public DefaultResourcePackBuilder withMetadataMap(ResourceMetadataMap metadataMap)
      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 Laul;a(Laty;)Laul;
    • withNamespaces

      public DefaultResourcePackBuilder withNamespaces(String[] namespaces)
      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 Laul;a([Ljava/lang/String;)Laul;
    • 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 Laul;a(Lauf;)Lauk;
    • reverse

      private static List<Path> reverse(Collection<Path> paths)
      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 Laul;a(Ljava/util/Collection;)Ljava/util/List;