Package net.minecraft.resource
Class ResourceFinder
java.lang.Object
net.minecraft.resource.ResourceFinder
- Mappings:
Namespace Name named net/minecraft/resource/ResourceFinderintermediary net/minecraft/class_7654official akk
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllResources(ResourceManager resourceManager) findResources(ResourceManager resourceManager) static ResourceFindertoResourceId(Identifier path) Returns an identifier of the resource located at the file pathpath.Returns an identifier that is used as a file path for locating the resourceid.
-
Field Details
-
directoryName
- Mappings:
Namespace Name Mixin selector named directoryNameLnet/minecraft/resource/ResourceFinder;directoryName:Ljava/lang/String;intermediary field_39966Lnet/minecraft/class_7654;field_39966:Ljava/lang/String;official aLakk;a:Ljava/lang/String;
-
fileExtension
- Mappings:
Namespace Name Mixin selector named fileExtensionLnet/minecraft/resource/ResourceFinder;fileExtension:Ljava/lang/String;intermediary field_39967Lnet/minecraft/class_7654;field_39967:Ljava/lang/String;official bLakk;b:Ljava/lang/String;
-
-
Constructor Details
-
ResourceFinder
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/resource/ResourceFinder;<init>(Ljava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_7654;<init>(Ljava/lang/String;Ljava/lang/String;)Vofficial <init>Lakk;<init>(Ljava/lang/String;Ljava/lang/String;)V
-
-
Method Details
-
json
- Mappings:
Namespace Name Mixin selector named jsonLnet/minecraft/resource/ResourceFinder;json(Ljava/lang/String;)Lnet/minecraft/resource/ResourceFinder;intermediary method_45114Lnet/minecraft/class_7654;method_45114(Ljava/lang/String;)Lnet/minecraft/class_7654;official aLakk;a(Ljava/lang/String;)Lakk;
-
toResourcePath
Returns an identifier that is used as a file path for locating the resourceid.- Returns:
- an identifier that is used as a file path for locating the resource
id - Mappings:
Namespace Name Mixin selector named toResourcePathLnet/minecraft/resource/ResourceFinder;toResourcePath(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;intermediary method_45112Lnet/minecraft/class_7654;method_45112(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;official aLakk;a(Lakr;)Lakr;
-
toResourceId
Returns an identifier of the resource located at the file pathpath.- Returns:
- an identifier of the resource located at the file path
path - Mappings:
Namespace Name Mixin selector named toResourceIdLnet/minecraft/resource/ResourceFinder;toResourceId(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;intermediary method_45115Lnet/minecraft/class_7654;method_45115(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;official bLakk;b(Lakr;)Lakr;
-
findResources
- Mappings:
Namespace Name Mixin selector named findResourcesLnet/minecraft/resource/ResourceFinder;findResources(Lnet/minecraft/resource/ResourceManager;)Ljava/util/Map;intermediary method_45113Lnet/minecraft/class_7654;method_45113(Lnet/minecraft/class_3300;)Ljava/util/Map;official aLakk;a(Laue;)Ljava/util/Map;
-
findAllResources
- Mappings:
Namespace Name Mixin selector named findAllResourcesLnet/minecraft/resource/ResourceFinder;findAllResources(Lnet/minecraft/resource/ResourceManager;)Ljava/util/Map;intermediary method_45116Lnet/minecraft/class_7654;method_45116(Lnet/minecraft/class_3300;)Ljava/util/Map;official bLakk;b(Laue;)Ljava/util/Map;
-