Class ResourceFileSystemProvider

java.lang.Object
java.nio.file.spi.FileSystemProvider
net.minecraft.resource.fs.ResourceFileSystemProvider

class ResourceFileSystemProvider extends FileSystemProvider
Mappings:
Namespace Name
named net/minecraft/resource/fs/ResourceFileSystemProvider
intermediary net/minecraft/class_7669
official asr
  • Field Details

    • SCHEME

      public static final String SCHEME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SCHEME Lnet/minecraft/resource/fs/ResourceFileSystemProvider;SCHEME:Ljava/lang/String;
      intermediary field_40023 Lnet/minecraft/class_7669;field_40023:Ljava/lang/String;
      official a Lasr;a:Ljava/lang/String;
  • Constructor Details

    • ResourceFileSystemProvider

      ResourceFileSystemProvider()
  • Method Details

    • getScheme

      public String getScheme()
      Specified by:
      getScheme in class FileSystemProvider
    • newFileSystem

      public FileSystem newFileSystem(URI uri, Map<String,?> env)
      Specified by:
      newFileSystem in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named newFileSystem Lnet/minecraft/resource/fs/ResourceFileSystemProvider;newFileSystem(Ljava/net/URI;Ljava/util/Map;)Ljava/nio/file/FileSystem;
      intermediary newFileSystem Lnet/minecraft/class_7669;newFileSystem(Ljava/net/URI;Ljava/util/Map;)Ljava/nio/file/FileSystem;
      official newFileSystem Lasr;newFileSystem(Ljava/net/URI;Ljava/util/Map;)Ljava/nio/file/FileSystem;
    • getFileSystem

      public FileSystem getFileSystem(URI uri)
      Specified by:
      getFileSystem in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named getFileSystem Lnet/minecraft/resource/fs/ResourceFileSystemProvider;getFileSystem(Ljava/net/URI;)Ljava/nio/file/FileSystem;
      intermediary getFileSystem Lnet/minecraft/class_7669;getFileSystem(Ljava/net/URI;)Ljava/nio/file/FileSystem;
      official getFileSystem Lasr;getFileSystem(Ljava/net/URI;)Ljava/nio/file/FileSystem;
    • getPath

      public Path getPath(URI uri)
      Specified by:
      getPath in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named getPath Lnet/minecraft/resource/fs/ResourceFileSystemProvider;getPath(Ljava/net/URI;)Ljava/nio/file/Path;
      intermediary getPath Lnet/minecraft/class_7669;getPath(Ljava/net/URI;)Ljava/nio/file/Path;
      official getPath Lasr;getPath(Ljava/net/URI;)Ljava/nio/file/Path;
    • newByteChannel

      public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>[] attrs) throws IOException
      Specified by:
      newByteChannel in class FileSystemProvider
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named newByteChannel Lnet/minecraft/resource/fs/ResourceFileSystemProvider;newByteChannel(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;
      intermediary newByteChannel Lnet/minecraft/class_7669;newByteChannel(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;
      official newByteChannel Lasr;newByteChannel(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;
    • newDirectoryStream

      public DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) throws IOException
      Specified by:
      newDirectoryStream in class FileSystemProvider
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named newDirectoryStream Lnet/minecraft/resource/fs/ResourceFileSystemProvider;newDirectoryStream(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;
      intermediary newDirectoryStream Lnet/minecraft/class_7669;newDirectoryStream(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;
      official newDirectoryStream Lasr;newDirectoryStream(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;
    • createDirectory

      public void createDirectory(Path dir, FileAttribute<?>[] attrs)
      Specified by:
      createDirectory in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named createDirectory Lnet/minecraft/resource/fs/ResourceFileSystemProvider;createDirectory(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)V
      intermediary createDirectory Lnet/minecraft/class_7669;createDirectory(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)V
      official createDirectory Lasr;createDirectory(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)V
    • delete

      public void delete(Path path)
      Specified by:
      delete in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named delete Lnet/minecraft/resource/fs/ResourceFileSystemProvider;delete(Ljava/nio/file/Path;)V
      intermediary delete Lnet/minecraft/class_7669;delete(Ljava/nio/file/Path;)V
      official delete Lasr;delete(Ljava/nio/file/Path;)V
    • copy

      public void copy(Path source, Path target, CopyOption[] options)
      Specified by:
      copy in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named copy Lnet/minecraft/resource/fs/ResourceFileSystemProvider;copy(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
      intermediary copy Lnet/minecraft/class_7669;copy(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
      official copy Lasr;copy(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
    • move

      public void move(Path source, Path target, CopyOption[] options)
      Specified by:
      move in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named move Lnet/minecraft/resource/fs/ResourceFileSystemProvider;move(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
      intermediary move Lnet/minecraft/class_7669;move(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
      official move Lasr;move(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
    • isSameFile

      public boolean isSameFile(Path path, Path path2)
      Specified by:
      isSameFile in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named isSameFile Lnet/minecraft/resource/fs/ResourceFileSystemProvider;isSameFile(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
      intermediary isSameFile Lnet/minecraft/class_7669;isSameFile(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
      official isSameFile Lasr;isSameFile(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
    • isHidden

      public boolean isHidden(Path path)
      Specified by:
      isHidden in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named isHidden Lnet/minecraft/resource/fs/ResourceFileSystemProvider;isHidden(Ljava/nio/file/Path;)Z
      intermediary isHidden Lnet/minecraft/class_7669;isHidden(Ljava/nio/file/Path;)Z
      official isHidden Lasr;isHidden(Ljava/nio/file/Path;)Z
    • getFileStore

      public FileStore getFileStore(Path path)
      Specified by:
      getFileStore in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named getFileStore Lnet/minecraft/resource/fs/ResourceFileSystemProvider;getFileStore(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
      intermediary getFileStore Lnet/minecraft/class_7669;getFileStore(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
      official getFileStore Lasr;getFileStore(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
    • checkAccess

      public void checkAccess(Path path, AccessMode[] modes) throws IOException
      Specified by:
      checkAccess in class FileSystemProvider
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named checkAccess Lnet/minecraft/resource/fs/ResourceFileSystemProvider;checkAccess(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)V
      intermediary checkAccess Lnet/minecraft/class_7669;checkAccess(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)V
      official checkAccess Lasr;checkAccess(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)V
    • getFileAttributeView

      @Nullable public <V extends FileAttributeView> V getFileAttributeView(Path path, Class<V> type, LinkOption[] options)
      Specified by:
      getFileAttributeView in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named getFileAttributeView Lnet/minecraft/resource/fs/ResourceFileSystemProvider;getFileAttributeView(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
      intermediary getFileAttributeView Lnet/minecraft/class_7669;getFileAttributeView(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
      official getFileAttributeView Lasr;getFileAttributeView(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
    • readAttributes

      public <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, LinkOption[] options) throws IOException
      Specified by:
      readAttributes in class FileSystemProvider
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named readAttributes Lnet/minecraft/resource/fs/ResourceFileSystemProvider;readAttributes(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
      intermediary readAttributes Lnet/minecraft/class_7669;readAttributes(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
      official readAttributes Lasr;readAttributes(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
    • readAttributes

      public Map<String,Object> readAttributes(Path path, String attributes, LinkOption[] options)
      Specified by:
      readAttributes in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named readAttributes Lnet/minecraft/resource/fs/ResourceFileSystemProvider;readAttributes(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/util/Map;
      intermediary readAttributes Lnet/minecraft/class_7669;readAttributes(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/util/Map;
      official readAttributes Lasr;readAttributes(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/util/Map;
    • setAttribute

      public void setAttribute(Path path, String attribute, Object value, LinkOption[] options)
      Specified by:
      setAttribute in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      named setAttribute Lnet/minecraft/resource/fs/ResourceFileSystemProvider;setAttribute(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/Object;[Ljava/nio/file/LinkOption;)V
      intermediary setAttribute Lnet/minecraft/class_7669;setAttribute(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/Object;[Ljava/nio/file/LinkOption;)V
      official setAttribute Lasr;setAttribute(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/Object;[Ljava/nio/file/LinkOption;)V
    • toResourcePath

      private static ResourcePath toResourcePath(@Nullable @Nullable Path path)
      Mappings:
      Namespace Name Mixin selector
      named toResourcePath Lnet/minecraft/resource/fs/ResourceFileSystemProvider;toResourcePath(Ljava/nio/file/Path;)Lnet/minecraft/resource/fs/ResourcePath;
      intermediary method_45238 Lnet/minecraft/class_7669;method_45238(Ljava/nio/file/Path;)Lnet/minecraft/class_7668;
      official a Lasr;a(Ljava/nio/file/Path;)Lasq;