Package net.minecraft.resource.fs
Class ResourceFileSystem
java.lang.Object
java.nio.file.FileSystem
net.minecraft.resource.fs.ResourceFileSystem
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- Mappings:
- Namespace - Name - named - net/minecraft/resource/fs/ResourceFileSystem- intermediary - net/minecraft/class_7670- official - atm
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classprivate static final record
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final FileSystemProviderprivate final ResourcePathstatic final Stringprivate static final Splitterprivate final FileStore
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ResourceFileSystem.Builderbuilder()voidclose()getPathMatcher(String syntaxAndPattern) getRoot()getStore()booleanisOpen()booleanprovider()private static ResourcePathtoResourcePath(ResourceFileSystem.Directory root, ResourceFileSystem fileSystem, String name, @Nullable ResourcePath parent) 
- 
Field Details- 
SUPPORTED_FILE_ATTRIBUTE_VIEWS- Mappings:
- Namespace - Name - Mixin selector - named - SUPPORTED_FILE_ATTRIBUTE_VIEWS- Lnet/minecraft/resource/fs/ResourceFileSystem;SUPPORTED_FILE_ATTRIBUTE_VIEWS:Ljava/util/Set;- intermediary - field_40029- Lnet/minecraft/class_7670;field_40029:Ljava/util/Set;- official - b- Latm;b:Ljava/util/Set;
 
- 
SEPARATOR- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - SEPARATOR- Lnet/minecraft/resource/fs/ResourceFileSystem;SEPARATOR:Ljava/lang/String;- intermediary - field_40028- Lnet/minecraft/class_7670;field_40028:Ljava/lang/String;- official - a- Latm;a:Ljava/lang/String;
 
- 
SEPARATOR_SPLITTER- Mappings:
- Namespace - Name - Mixin selector - named - SEPARATOR_SPLITTER- Lnet/minecraft/resource/fs/ResourceFileSystem;SEPARATOR_SPLITTER:Lcom/google/common/base/Splitter;- intermediary - field_40030- Lnet/minecraft/class_7670;field_40030:Lcom/google/common/base/Splitter;- official - c- Latm;c:Lcom/google/common/base/Splitter;
 
- 
store- Mappings:
- Namespace - Name - Mixin selector - named - store- Lnet/minecraft/resource/fs/ResourceFileSystem;store:Ljava/nio/file/FileStore;- intermediary - field_40031- Lnet/minecraft/class_7670;field_40031:Ljava/nio/file/FileStore;- official - d- Latm;d:Ljava/nio/file/FileStore;
 
- 
fileSystemProvider- Mappings:
- Namespace - Name - Mixin selector - named - fileSystemProvider- Lnet/minecraft/resource/fs/ResourceFileSystem;fileSystemProvider:Ljava/nio/file/spi/FileSystemProvider;- intermediary - field_40032- Lnet/minecraft/class_7670;field_40032:Ljava/nio/file/spi/FileSystemProvider;- official - e- Latm;e:Ljava/nio/file/spi/FileSystemProvider;
 
- 
root- Mappings:
- Namespace - Name - Mixin selector - named - root- Lnet/minecraft/resource/fs/ResourceFileSystem;root:Lnet/minecraft/resource/fs/ResourcePath;- intermediary - field_40033- Lnet/minecraft/class_7670;field_40033:Lnet/minecraft/class_7668;- official - f- Latm;f:Latk;
 
 
- 
- 
Constructor Details- 
ResourceFileSystemResourceFileSystem(String name, ResourceFileSystem.Directory root) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/resource/fs/ResourceFileSystem;<init>(Ljava/lang/String;Lnet/minecraft/resource/fs/ResourceFileSystem$Directory;)V- intermediary - <init>- Lnet/minecraft/class_7670;<init>(Ljava/lang/String;Lnet/minecraft/class_7670$class_7672;)V- official - <init>- Latm;<init>(Ljava/lang/String;Latm$b;)V
 
 
- 
- 
Method Details- 
toResourcePathprivate static ResourcePath toResourcePath(ResourceFileSystem.Directory root, ResourceFileSystem fileSystem, String name, @Nullable @Nullable ResourcePath parent) - Mappings:
- Namespace - Name - Mixin selector - 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;- 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;- official - a- Latm;a(Latm$b;Latm;Ljava/lang/String;Latk;)Latk;
 
- 
provider- Specified by:
- providerin class- FileSystem
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- FileSystem
 
- 
isOpenpublic boolean isOpen()- Specified by:
- isOpenin class- FileSystem
 
- 
isReadOnlypublic boolean isReadOnly()- Specified by:
- isReadOnlyin class- FileSystem
 
- 
getSeparator- Specified by:
- getSeparatorin class- FileSystem
 
- 
getRootDirectories- Specified by:
- getRootDirectoriesin class- FileSystem
 
- 
getFileStores- Specified by:
- getFileStoresin class- FileSystem
 
- 
supportedFileAttributeViews- Specified by:
- supportedFileAttributeViewsin class- FileSystem
 
- 
getPath- Specified by:
- getPathin class- FileSystem
- Mappings:
- Namespace - Name - Mixin selector - named - getPath- Lnet/minecraft/resource/fs/ResourceFileSystem;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;- official - getPath- Latm;getPath(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
 
- 
getPathMatcher- Specified by:
- getPathMatcherin class- FileSystem
- Mappings:
- Namespace - Name - Mixin selector - named - getPathMatcher- Lnet/minecraft/resource/fs/ResourceFileSystem;getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;- intermediary - getPathMatcher- Lnet/minecraft/class_7670;getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;- official - getPathMatcher- Latm;getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
 
- 
getUserPrincipalLookupService- Specified by:
- getUserPrincipalLookupServicein class- FileSystem
 
- 
newWatchService- Specified by:
- newWatchServicein class- FileSystem
 
- 
getStore- Mappings:
- Namespace - Name - Mixin selector - named - getStore- Lnet/minecraft/resource/fs/ResourceFileSystem;getStore()Ljava/nio/file/FileStore;- intermediary - method_45241- Lnet/minecraft/class_7670;method_45241()Ljava/nio/file/FileStore;- official - a- Latm;a()Ljava/nio/file/FileStore;
 
- 
getRoot- Mappings:
- Namespace - Name - Mixin selector - named - getRoot- Lnet/minecraft/resource/fs/ResourceFileSystem;getRoot()Lnet/minecraft/resource/fs/ResourcePath;- intermediary - method_45245- Lnet/minecraft/class_7670;method_45245()Lnet/minecraft/class_7668;- official - b- Latm;b()Latk;
 
- 
builder- Mappings:
- Namespace - Name - Mixin selector - named - builder- Lnet/minecraft/resource/fs/ResourceFileSystem;builder()Lnet/minecraft/resource/fs/ResourceFileSystem$Builder;- intermediary - method_45246- Lnet/minecraft/class_7670;method_45246()Lnet/minecraft/class_7670$class_7671;- official - c- Latm;c()Latm$a;
 
 
-