Class ResourceFileStore

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

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

    • name

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

    • ResourceFileStore

      public ResourceFileStore(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/resource/fs/ResourceFileStore;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7667;<init>(Ljava/lang/String;)V
      official <init> Lasp;<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
      named supportsFileAttributeView Lnet/minecraft/resource/fs/ResourceFileStore;supportsFileAttributeView(Ljava/lang/Class;)Z
      intermediary supportsFileAttributeView Lnet/minecraft/class_7667;supportsFileAttributeView(Ljava/lang/Class;)Z
      official supportsFileAttributeView Lasp;supportsFileAttributeView(Ljava/lang/Class;)Z
    • supportsFileAttributeView

      public boolean supportsFileAttributeView(String name)
      Specified by:
      supportsFileAttributeView in class FileStore
      Mappings:
      Namespace Name Mixin selector
      named supportsFileAttributeView Lnet/minecraft/resource/fs/ResourceFileStore;supportsFileAttributeView(Ljava/lang/String;)Z
      intermediary supportsFileAttributeView Lnet/minecraft/class_7667;supportsFileAttributeView(Ljava/lang/String;)Z
      official supportsFileAttributeView Lasp;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
      named getFileStoreAttributeView Lnet/minecraft/resource/fs/ResourceFileStore;getFileStoreAttributeView(Ljava/lang/Class;)Ljava/nio/file/attribute/FileStoreAttributeView;
      intermediary getFileStoreAttributeView Lnet/minecraft/class_7667;getFileStoreAttributeView(Ljava/lang/Class;)Ljava/nio/file/attribute/FileStoreAttributeView;
      official getFileStoreAttributeView Lasp;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
      named getAttribute Lnet/minecraft/resource/fs/ResourceFileStore;getAttribute(Ljava/lang/String;)Ljava/lang/Object;
      intermediary getAttribute Lnet/minecraft/class_7667;getAttribute(Ljava/lang/String;)Ljava/lang/Object;
      official getAttribute Lasp;getAttribute(Ljava/lang/String;)Ljava/lang/Object;