Class ResourceFileSystemProvider

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

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

    • SCHEME

      public static final String SCHEME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lamp;a:Ljava/lang/String;
      intermediary field_40023 Lnet/minecraft/class_7669;field_40023:Ljava/lang/String;
      named SCHEME Lnet/minecraft/resource/fs/ResourceFileSystemProvider;SCHEME: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
      official newFileSystem Lamp;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;
      named newFileSystem Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official getFileSystem Lamp;getFileSystem(Ljava/net/URI;)Ljava/nio/file/FileSystem;
      intermediary getFileSystem Lnet/minecraft/class_7669;getFileSystem(Ljava/net/URI;)Ljava/nio/file/FileSystem;
      named getFileSystem Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official getPath Lamp;getPath(Ljava/net/URI;)Ljava/nio/file/Path;
      intermediary getPath Lnet/minecraft/class_7669;getPath(Ljava/net/URI;)Ljava/nio/file/Path;
      named getPath Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official newByteChannel Lamp;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;
      named newByteChannel Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official newDirectoryStream Lamp;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;
      named newDirectoryStream Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official createDirectory Lamp;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
      named createDirectory Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official delete Lamp;delete(Ljava/nio/file/Path;)V
      intermediary delete Lnet/minecraft/class_7669;delete(Ljava/nio/file/Path;)V
      named delete Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official copy Lamp;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
      named copy Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official move Lamp;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
      named move Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official isSameFile Lamp;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
      named isSameFile Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official isHidden Lamp;isHidden(Ljava/nio/file/Path;)Z
      intermediary isHidden Lnet/minecraft/class_7669;isHidden(Ljava/nio/file/Path;)Z
      named isHidden Lnet/minecraft/resource/fs/ResourceFileSystemProvider;isHidden(Ljava/nio/file/Path;)Z
    • getFileStore

      public FileStore getFileStore(Path path)
      Specified by:
      getFileStore in class FileSystemProvider
      Mappings:
      Namespace Name Mixin selector
      official getFileStore Lamp;getFileStore(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
      intermediary getFileStore Lnet/minecraft/class_7669;getFileStore(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
      named getFileStore Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official checkAccess Lamp;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
      named checkAccess Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official getFileAttributeView Lamp;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;
      named getFileAttributeView Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official readAttributes Lamp;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;
      named readAttributes Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official readAttributes Lamp;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;
      named readAttributes Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official setAttribute Lamp;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
      named setAttribute Lnet/minecraft/resource/fs/ResourceFileSystemProvider;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
      official a Lamp;a(Ljava/nio/file/Path;)Lamo;
      intermediary method_45238 Lnet/minecraft/class_7669;method_45238(Ljava/nio/file/Path;)Lnet/minecraft/class_7668;
      named toResourcePath Lnet/minecraft/resource/fs/ResourceFileSystemProvider;toResourcePath(Ljava/nio/file/Path;)Lnet/minecraft/resource/fs/ResourcePath;