Class ResourceFileStore

java.lang.Object
java.nio.file.FileStore
net.minecraft.resource.fs.ResourceFileStore

class ResourceFileStore extends FileStore
Mappings:
Namespace Name
official aiy
intermediary net/minecraft/class_7667
named net/minecraft/resource/fs/ResourceFileStore
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official a Laiy;a:Ljava/lang/String;
      intermediary field_40012 Lnet/minecraft/class_7667;field_40012:Ljava/lang/String;
      named name Lnet/minecraft/resource/fs/ResourceFileStore;name:Ljava/lang/String;
  • Constructor Details

    • ResourceFileStore

      public ResourceFileStore(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laiy;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7667;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/resource/fs/ResourceFileStore;<init>(Ljava/lang/String;)V
  • Method Details

    • name

      public String name()
      Specified by:
      name in class FileStore
    • type

      public String type()
      Specified by:
      type in class FileStore
    • isReadOnly

      public boolean isReadOnly()
      Specified by:
      isReadOnly in class FileStore
    • getTotalSpace

      public long getTotalSpace()
      Specified by:
      getTotalSpace in class FileStore
    • getUsableSpace

      public long getUsableSpace()
      Specified by:
      getUsableSpace in class FileStore
    • getUnallocatedSpace

      public long getUnallocatedSpace()
      Specified by:
      getUnallocatedSpace in class FileStore
    • supportsFileAttributeView

      public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type)
      Specified by:
      supportsFileAttributeView in class FileStore
      Mappings:
      Namespace Name Mixin selector
      official supportsFileAttributeView Laiy;supportsFileAttributeView(Ljava/lang/Class;)Z
      intermediary supportsFileAttributeView Lnet/minecraft/class_7667;supportsFileAttributeView(Ljava/lang/Class;)Z
      named supportsFileAttributeView Lnet/minecraft/resource/fs/ResourceFileStore;supportsFileAttributeView(Ljava/lang/Class;)Z
    • supportsFileAttributeView

      public boolean supportsFileAttributeView(String name)
      Specified by:
      supportsFileAttributeView in class FileStore
      Mappings:
      Namespace Name Mixin selector
      official supportsFileAttributeView Laiy;supportsFileAttributeView(Ljava/lang/String;)Z
      intermediary supportsFileAttributeView Lnet/minecraft/class_7667;supportsFileAttributeView(Ljava/lang/String;)Z
      named supportsFileAttributeView Lnet/minecraft/resource/fs/ResourceFileStore;supportsFileAttributeView(Ljava/lang/String;)Z
    • getFileStoreAttributeView

      @Nullable public <V extends FileStoreAttributeView> V getFileStoreAttributeView(Class<V> type)
      Specified by:
      getFileStoreAttributeView in class FileStore
      Mappings:
      Namespace Name Mixin selector
      official getFileStoreAttributeView Laiy;getFileStoreAttributeView(Ljava/lang/Class;)Ljava/nio/file/attribute/FileStoreAttributeView;
      intermediary getFileStoreAttributeView Lnet/minecraft/class_7667;getFileStoreAttributeView(Ljava/lang/Class;)Ljava/nio/file/attribute/FileStoreAttributeView;
      named getFileStoreAttributeView Lnet/minecraft/resource/fs/ResourceFileStore;getFileStoreAttributeView(Ljava/lang/Class;)Ljava/nio/file/attribute/FileStoreAttributeView;
    • getAttribute

      public Object getAttribute(String attribute) throws IOException
      Specified by:
      getAttribute in class FileStore
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official getAttribute Laiy;getAttribute(Ljava/lang/String;)Ljava/lang/Object;
      intermediary getAttribute Lnet/minecraft/class_7667;getAttribute(Ljava/lang/String;)Ljava/lang/Object;
      named getAttribute Lnet/minecraft/resource/fs/ResourceFileStore;getAttribute(Ljava/lang/String;)Ljava/lang/Object;