Uses of Enum Class
net.minecraft.resource.ResourceType
Package
Description
The base package for all Minecraft classes.
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourceType in net.minecraft
Modifier and TypeMethodDescriptionint
GameVersion.getResourceVersion
(ResourceType type) int
MinecraftVersion.getResourceVersion
(ResourceType type) -
Uses of ResourceType in net.minecraft.resource
Modifier and TypeFieldDescriptionprivate final ResourceType
FileResourcePackProvider.type
private final ResourceType
NamespaceResourceManager.type
private final ResourceType
ReloadableResourceManagerImpl.type
private final ResourceType
VanillaResourcePackProvider.type
Modifier and TypeFieldDescriptionprivate final Map<ResourceType,
List<Path>> DefaultResourcePack.namespacePaths
private final Map<ResourceType,
Set<Path>> DefaultResourcePackBuilder.paths
private static final Map<ResourceType,
Path> DefaultResourcePackBuilder.RESOURCE_TYPE_TO_PATH
Modifier and TypeMethodDescriptionstatic ResourceType
Returns the enum constant of this class with the specified name.static ResourceType[]
ResourceType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate void
DefaultResourcePackBuilder.addPath
(ResourceType type, Path path) static @Nullable ResourcePackProfile
ResourcePackProfile.create
(String name, Text displayName, boolean alwaysEnabled, ResourcePackProfile.PackFactory packFactory, ResourceType type, ResourcePackProfile.InsertionPosition position, ResourcePackSource source) void
DefaultResourcePack.findResources
(ResourceType type, String namespace, String prefix, ResourcePack.ResultConsumer consumer) void
DirectoryResourcePack.findResources
(ResourceType type, String namespace, String prefix, ResourcePack.ResultConsumer consumer) void
OverlayResourcePack.findResources
(ResourceType type, String namespace, String prefix, ResourcePack.ResultConsumer consumer) void
ResourcePack.findResources
(ResourceType type, String namespace, String prefix, ResourcePack.ResultConsumer consumer) void
ZipResourcePack.findResources
(ResourceType type, String namespace, String prefix, ResourcePack.ResultConsumer consumer) void
DefaultResourcePack.forEachNamespacedPath
(ResourceType type, Identifier path, Consumer<Path> consumer) DefaultResourcePack.getNamespaces
(ResourceType type) DirectoryResourcePack.getNamespaces
(ResourceType type) OverlayResourcePack.getNamespaces
(ResourceType type) ResourcePack.getNamespaces
(ResourceType type) ZipResourcePack.getNamespaces
(ResourceType type) @Nullable InputSupplier<InputStream>
DefaultResourcePack.open
(ResourceType type, Identifier id) @Nullable InputSupplier<InputStream>
DirectoryResourcePack.open
(ResourceType type, Identifier id) @Nullable InputSupplier<InputStream>
OverlayResourcePack.open
(ResourceType type, Identifier id) @Nullable InputSupplier<InputStream>
ResourcePack.open
(ResourceType type, Identifier id) ZipResourcePack.open
(ResourceType type, Identifier id) private static String
ZipResourcePack.toPath
(ResourceType type, Identifier id) DefaultResourcePackBuilder.withPath
(ResourceType type, Path path) DefaultResourcePackBuilder.withPaths
(ResourceType type, Class<?> clazz) ModifierConstructorDescriptionFileResourcePackProvider
(Path packsDir, ResourceType type, ResourcePackSource source, SymlinkFinder symlinkFinder) LifecycledResourceManagerImpl
(ResourceType type, List<ResourcePack> packs) NamespaceResourceManager
(ResourceType type, String namespace) VanillaResourcePackProvider
(ResourceType type, DefaultResourcePack resourcePack, Identifier id, SymlinkFinder symlinkFinder) ModifierConstructorDescription(package private)
DefaultResourcePack
(ResourceMetadataMap metadata, Set<String> namespaces, List<Path> rootPaths, Map<ResourceType, List<Path>> namespacePaths)