Class ResourceFileSystem

java.lang.Object
java.nio.file.FileSystem
net.minecraft.resource.fs.ResourceFileSystem
All Implemented Interfaces:
Closeable, AutoCloseable

public class ResourceFileSystem extends FileSystem
Mappings:
Namespace Name
official ajs
intermediary net/minecraft/class_7670
named net/minecraft/resource/fs/ResourceFileSystem
  • Field Details

    • SUPPORTED_FILE_ATTRIBUTE_VIEWS

      private static final Set<String> SUPPORTED_FILE_ATTRIBUTE_VIEWS
      Mappings:
      Namespace Name Mixin selector
      official b Lajs;b:Ljava/util/Set;
      intermediary field_40029 Lnet/minecraft/class_7670;field_40029:Ljava/util/Set;
      named SUPPORTED_FILE_ATTRIBUTE_VIEWS Lnet/minecraft/resource/fs/ResourceFileSystem;SUPPORTED_FILE_ATTRIBUTE_VIEWS:Ljava/util/Set;
    • SEPARATOR

      public static final String SEPARATOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lajs;a:Ljava/lang/String;
      intermediary field_40028 Lnet/minecraft/class_7670;field_40028:Ljava/lang/String;
      named SEPARATOR Lnet/minecraft/resource/fs/ResourceFileSystem;SEPARATOR:Ljava/lang/String;
    • SEPARATOR_SPLITTER

      private static final Splitter SEPARATOR_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      official c Lajs;c:Lcom/google/common/base/Splitter;
      intermediary field_40030 Lnet/minecraft/class_7670;field_40030:Lcom/google/common/base/Splitter;
      named SEPARATOR_SPLITTER Lnet/minecraft/resource/fs/ResourceFileSystem;SEPARATOR_SPLITTER:Lcom/google/common/base/Splitter;
    • store

      private final FileStore store
      Mappings:
      Namespace Name Mixin selector
      official d Lajs;d:Ljava/nio/file/FileStore;
      intermediary field_40031 Lnet/minecraft/class_7670;field_40031:Ljava/nio/file/FileStore;
      named store Lnet/minecraft/resource/fs/ResourceFileSystem;store:Ljava/nio/file/FileStore;
    • fileSystemProvider

      private final FileSystemProvider fileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      official e Lajs;e:Ljava/nio/file/spi/FileSystemProvider;
      intermediary field_40032 Lnet/minecraft/class_7670;field_40032:Ljava/nio/file/spi/FileSystemProvider;
      named fileSystemProvider Lnet/minecraft/resource/fs/ResourceFileSystem;fileSystemProvider:Ljava/nio/file/spi/FileSystemProvider;
    • root

      private final ResourcePath root
      Mappings:
      Namespace Name Mixin selector
      official f Lajs;f:Lajq;
      intermediary field_40033 Lnet/minecraft/class_7670;field_40033:Lnet/minecraft/class_7668;
      named root Lnet/minecraft/resource/fs/ResourceFileSystem;root:Lnet/minecraft/resource/fs/ResourcePath;
  • Constructor Details

    • ResourceFileSystem

      ResourceFileSystem(String name, ResourceFileSystem.Directory root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajs;<init>(Ljava/lang/String;Lajs$b;)V
      intermediary <init> Lnet/minecraft/class_7670;<init>(Ljava/lang/String;Lnet/minecraft/class_7670$class_7672;)V
      named <init> Lnet/minecraft/resource/fs/ResourceFileSystem;<init>(Ljava/lang/String;Lnet/minecraft/resource/fs/ResourceFileSystem$Directory;)V
  • Method Details

    • toResourcePath

      private static ResourcePath toResourcePath(ResourceFileSystem.Directory root, ResourceFileSystem fileSystem, String name, @Nullable @Nullable ResourcePath parent)
      Mappings:
      Namespace Name Mixin selector
      official a Lajs;a(Lajs$b;Lajs;Ljava/lang/String;Lajq;)Lajq;
      intermediary method_45242 Lnet/minecraft/class_7670;method_45242(Lnet/minecraft/class_7670$class_7672;Lnet/minecraft/class_7670;Ljava/lang/String;Lnet/minecraft/class_7668;)Lnet/minecraft/class_7668;
      named toResourcePath Lnet/minecraft/resource/fs/ResourceFileSystem;toResourcePath(Lnet/minecraft/resource/fs/ResourceFileSystem$Directory;Lnet/minecraft/resource/fs/ResourceFileSystem;Ljava/lang/String;Lnet/minecraft/resource/fs/ResourcePath;)Lnet/minecraft/resource/fs/ResourcePath;
    • provider

      public FileSystemProvider provider()
      Specified by:
      provider in class FileSystem
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in class FileSystem
    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in class FileSystem
    • isReadOnly

      public boolean isReadOnly()
      Specified by:
      isReadOnly in class FileSystem
    • getSeparator

      public String getSeparator()
      Specified by:
      getSeparator in class FileSystem
    • getRootDirectories

      public Iterable<Path> getRootDirectories()
      Specified by:
      getRootDirectories in class FileSystem
    • getFileStores

      public Iterable<FileStore> getFileStores()
      Specified by:
      getFileStores in class FileSystem
    • supportedFileAttributeViews

      public Set<String> supportedFileAttributeViews()
      Specified by:
      supportedFileAttributeViews in class FileSystem
    • getPath

      public Path getPath(String first, String[] more)
      Specified by:
      getPath in class FileSystem
      Mappings:
      Namespace Name Mixin selector
      official getPath Lajs;getPath(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
      intermediary getPath Lnet/minecraft/class_7670;getPath(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
      named getPath Lnet/minecraft/resource/fs/ResourceFileSystem;getPath(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
    • getPathMatcher

      public PathMatcher getPathMatcher(String syntaxAndPattern)
      Specified by:
      getPathMatcher in class FileSystem
      Mappings:
      Namespace Name Mixin selector
      official getPathMatcher Lajs;getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
      intermediary getPathMatcher Lnet/minecraft/class_7670;getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
      named getPathMatcher Lnet/minecraft/resource/fs/ResourceFileSystem;getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
    • getUserPrincipalLookupService

      public UserPrincipalLookupService getUserPrincipalLookupService()
      Specified by:
      getUserPrincipalLookupService in class FileSystem
    • newWatchService

      public WatchService newWatchService()
      Specified by:
      newWatchService in class FileSystem
    • getStore

      public FileStore getStore()
      Mappings:
      Namespace Name Mixin selector
      official a Lajs;a()Ljava/nio/file/FileStore;
      intermediary method_45241 Lnet/minecraft/class_7670;method_45241()Ljava/nio/file/FileStore;
      named getStore Lnet/minecraft/resource/fs/ResourceFileSystem;getStore()Ljava/nio/file/FileStore;
    • getRoot

      public ResourcePath getRoot()
      Mappings:
      Namespace Name Mixin selector
      official b Lajs;b()Lajq;
      intermediary method_45245 Lnet/minecraft/class_7670;method_45245()Lnet/minecraft/class_7668;
      named getRoot Lnet/minecraft/resource/fs/ResourceFileSystem;getRoot()Lnet/minecraft/resource/fs/ResourcePath;
    • builder

      public static ResourceFileSystem.Builder builder()
      Mappings:
      Namespace Name Mixin selector
      official c Lajs;c()Lajs$a;
      intermediary method_45246 Lnet/minecraft/class_7670;method_45246()Lnet/minecraft/class_7670$class_7671;
      named builder Lnet/minecraft/resource/fs/ResourceFileSystem;builder()Lnet/minecraft/resource/fs/ResourceFileSystem$Builder;