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 official ajuintermediary net/minecraft/class_7670named net/minecraft/resource/fs/ResourceFileSystem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FileSystemProviderprivate final ResourcePathstatic final Stringprivate static final Splitterprivate final FileStore -
Constructor Summary
Constructors -
Method Summary
Modifier 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 official bLaju;b:Ljava/util/Set;intermediary field_40029Lnet/minecraft/class_7670;field_40029:Ljava/util/Set;named SUPPORTED_FILE_ATTRIBUTE_VIEWSLnet/minecraft/resource/fs/ResourceFileSystem;SUPPORTED_FILE_ATTRIBUTE_VIEWS:Ljava/util/Set;
-
SEPARATOR
- See Also:
- Mappings:
Namespace Name Mixin selector official aLaju;a:Ljava/lang/String;intermediary field_40028Lnet/minecraft/class_7670;field_40028:Ljava/lang/String;named SEPARATORLnet/minecraft/resource/fs/ResourceFileSystem;SEPARATOR:Ljava/lang/String;
-
SEPARATOR_SPLITTER
- Mappings:
Namespace Name Mixin selector official cLaju;c:Lcom/google/common/base/Splitter;intermediary field_40030Lnet/minecraft/class_7670;field_40030:Lcom/google/common/base/Splitter;named SEPARATOR_SPLITTERLnet/minecraft/resource/fs/ResourceFileSystem;SEPARATOR_SPLITTER:Lcom/google/common/base/Splitter;
-
store
- Mappings:
Namespace Name Mixin selector official dLaju;d:Ljava/nio/file/FileStore;intermediary field_40031Lnet/minecraft/class_7670;field_40031:Ljava/nio/file/FileStore;named storeLnet/minecraft/resource/fs/ResourceFileSystem;store:Ljava/nio/file/FileStore;
-
fileSystemProvider
- Mappings:
Namespace Name Mixin selector official eLaju;e:Ljava/nio/file/spi/FileSystemProvider;intermediary field_40032Lnet/minecraft/class_7670;field_40032:Ljava/nio/file/spi/FileSystemProvider;named fileSystemProviderLnet/minecraft/resource/fs/ResourceFileSystem;fileSystemProvider:Ljava/nio/file/spi/FileSystemProvider;
-
root
- Mappings:
Namespace Name Mixin selector official fLaju;f:Lajs;intermediary field_40033Lnet/minecraft/class_7670;field_40033:Lnet/minecraft/class_7668;named rootLnet/minecraft/resource/fs/ResourceFileSystem;root:Lnet/minecraft/resource/fs/ResourcePath;
-
-
Constructor Details
-
ResourceFileSystem
ResourceFileSystem(String name, ResourceFileSystem.Directory root) - Mappings:
Namespace Name Mixin selector official <init>Laju;<init>(Ljava/lang/String;Laju$b;)Vintermediary <init>Lnet/minecraft/class_7670;<init>(Ljava/lang/String;Lnet/minecraft/class_7670$class_7672;)Vnamed <init>Lnet/minecraft/resource/fs/ResourceFileSystem;<init>(Ljava/lang/String;Lnet/minecraft/resource/fs/ResourceFileSystem$Directory;)V
-
-
Method Details
-
toResourcePath
private static ResourcePath toResourcePath(ResourceFileSystem.Directory root, ResourceFileSystem fileSystem, String name, @Nullable @Nullable ResourcePath parent) - Mappings:
Namespace Name Mixin selector official aLaju;a(Laju$b;Laju;Ljava/lang/String;Lajs;)Lajs;intermediary method_45242Lnet/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;named toResourcePathLnet/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;
-
provider
- Specified by:
providerin classFileSystem
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classFileSystem
-
isOpen
public boolean isOpen()- Specified by:
isOpenin classFileSystem
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin classFileSystem
-
getSeparator
- Specified by:
getSeparatorin classFileSystem
-
getRootDirectories
- Specified by:
getRootDirectoriesin classFileSystem
-
getFileStores
- Specified by:
getFileStoresin classFileSystem
-
supportedFileAttributeViews
- Specified by:
supportedFileAttributeViewsin classFileSystem
-
getPath
- Specified by:
getPathin classFileSystem- Mappings:
Namespace Name Mixin selector official getPathLaju;getPath(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;intermediary getPathLnet/minecraft/class_7670;getPath(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;named getPathLnet/minecraft/resource/fs/ResourceFileSystem;getPath(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
-
getPathMatcher
- Specified by:
getPathMatcherin classFileSystem- Mappings:
Namespace Name Mixin selector official getPathMatcherLaju;getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;intermediary getPathMatcherLnet/minecraft/class_7670;getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;named getPathMatcherLnet/minecraft/resource/fs/ResourceFileSystem;getPathMatcher(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
-
getUserPrincipalLookupService
- Specified by:
getUserPrincipalLookupServicein classFileSystem
-
newWatchService
- Specified by:
newWatchServicein classFileSystem
-
getStore
- Mappings:
Namespace Name Mixin selector official aLaju;a()Ljava/nio/file/FileStore;intermediary method_45241Lnet/minecraft/class_7670;method_45241()Ljava/nio/file/FileStore;named getStoreLnet/minecraft/resource/fs/ResourceFileSystem;getStore()Ljava/nio/file/FileStore;
-
getRoot
- Mappings:
Namespace Name Mixin selector official bLaju;b()Lajs;intermediary method_45245Lnet/minecraft/class_7670;method_45245()Lnet/minecraft/class_7668;named getRootLnet/minecraft/resource/fs/ResourceFileSystem;getRoot()Lnet/minecraft/resource/fs/ResourcePath;
-
builder
- Mappings:
Namespace Name Mixin selector official cLaju;c()Laju$a;intermediary method_45246Lnet/minecraft/class_7670;method_45246()Lnet/minecraft/class_7670$class_7671;named builderLnet/minecraft/resource/fs/ResourceFileSystem;builder()Lnet/minecraft/resource/fs/ResourceFileSystem$Builder;
-