Class ResourceFileSystem.Builder

java.lang.Object
net.minecraft.resource.fs.ResourceFileSystem.Builder
Enclosing class:
ResourceFileSystem

public static class ResourceFileSystem.Builder extends Object
Mappings:
Namespace Name
official amq$a
intermediary net/minecraft/class_7670$class_7671
named net/minecraft/resource/fs/ResourceFileSystem$Builder
  • Field Details

    • root

      private final ResourceFileSystem.Directory root
      Mappings:
      Namespace Name Mixin selector
      official a Lamq$a;a:Lamq$b;
      intermediary field_40034 Lnet/minecraft/class_7670$class_7671;field_40034:Lnet/minecraft/class_7670$class_7672;
      named root Lnet/minecraft/resource/fs/ResourceFileSystem$Builder;root:Lnet/minecraft/resource/fs/ResourceFileSystem$Directory;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • withFile

      public ResourceFileSystem.Builder withFile(List<String> directories, String name, Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Lamq$a;a(Ljava/util/List;Ljava/lang/String;Ljava/nio/file/Path;)Lamq$a;
      intermediary method_45248 Lnet/minecraft/class_7670$class_7671;method_45248(Ljava/util/List;Ljava/lang/String;Ljava/nio/file/Path;)Lnet/minecraft/class_7670$class_7671;
      named withFile Lnet/minecraft/resource/fs/ResourceFileSystem$Builder;withFile(Ljava/util/List;Ljava/lang/String;Ljava/nio/file/Path;)Lnet/minecraft/resource/fs/ResourceFileSystem$Builder;
    • withFile

      public ResourceFileSystem.Builder withFile(List<String> directories, Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Lamq$a;a(Ljava/util/List;Ljava/nio/file/Path;)Lamq$a;
      intermediary method_45249 Lnet/minecraft/class_7670$class_7671;method_45249(Ljava/util/List;Ljava/nio/file/Path;)Lnet/minecraft/class_7670$class_7671;
      named withFile Lnet/minecraft/resource/fs/ResourceFileSystem$Builder;withFile(Ljava/util/List;Ljava/nio/file/Path;)Lnet/minecraft/resource/fs/ResourceFileSystem$Builder;
    • build

      public FileSystem build(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lamq$a;a(Ljava/lang/String;)Ljava/nio/file/FileSystem;
      intermediary method_45247 Lnet/minecraft/class_7670$class_7671;method_45247(Ljava/lang/String;)Ljava/nio/file/FileSystem;
      named build Lnet/minecraft/resource/fs/ResourceFileSystem$Builder;build(Ljava/lang/String;)Ljava/nio/file/FileSystem;