Uses of Enum Class
net.minecraft.resource.ResourceType
Package
Description
Provides resources to Minecraft, including resource access and provision.
-
Uses of ResourceType in net.minecraft.client.resource
Modifier and TypeMethodDescriptionboolean
DefaultClientResourcePack.contains(ResourceType type, Identifier id)
boolean
Format3ResourcePack.contains(ResourceType type, Identifier id)
boolean
Format4ResourcePack.contains(ResourceType type, Identifier id)
protected @Nullable InputStream
DefaultClientResourcePack.findInputStream(ResourceType type, Identifier id)
DefaultClientResourcePack.findResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
Format3ResourcePack.findResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
Format4ResourcePack.findResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
Format3ResourcePack.getNamespaces(ResourceType type)
Format4ResourcePack.getNamespaces(ResourceType type)
Format3ResourcePack.open(ResourceType type, Identifier id)
Format4ResourcePack.open(ResourceType type, Identifier id)
-
Uses of ResourceType in net.minecraft.resource
Modifier and TypeFieldDescriptionprivate ResourceType
NamespaceResourceManager.type
private ResourceType
ReloadableResourceManagerImpl.type
Modifier and TypeFieldDescriptionprivate static Map<ResourceType,FileSystem>
DefaultResourcePack.typeToFileSystem
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 TypeMethodDescriptionboolean
AbstractFileResourcePack.contains(ResourceType type, Identifier id)
boolean
DefaultResourcePack.contains(ResourceType type, Identifier id)
boolean
ResourcePack.contains(ResourceType type, Identifier id)
protected @Nullable InputStream
DefaultResourcePack.findInputStream(ResourceType type, Identifier id)
DefaultResourcePack.findResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
DirectoryResourcePack.findResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
ResourcePack.findResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
ZipResourcePack.findResources(ResourceType type, String namespace, String prefix, int maxDepth, Predicate<String> pathFilter)
static ResourcePackCompatibility
ResourcePackCompatibility.from(int packVersion, ResourceType type)
static ResourcePackCompatibility
ResourcePackCompatibility.from(PackResourceMetadata metadata, ResourceType type)
private static String
AbstractFileResourcePack.getFilename(ResourceType type, Identifier id)
DefaultResourcePack.getNamespaces(ResourceType type)
DirectoryResourcePack.getNamespaces(ResourceType type)
ResourcePack.getNamespaces(ResourceType type)
ZipResourcePack.getNamespaces(ResourceType type)
private static String
DefaultResourcePack.getPath(ResourceType type, Identifier id)
AbstractFileResourcePack.open(ResourceType type, Identifier id)
DefaultResourcePack.open(ResourceType type, Identifier id)
ResourcePack.open(ResourceType type, Identifier id)
ModifierConstructorDescriptionNamespaceResourceManager(ResourceType type, String namespace)
ResourcePackManager(ResourceType type, ResourcePackProvider[] providers)
ResourcePackProfile(String name, Text displayName, boolean alwaysEnabled, Supplier<ResourcePack> packFactory, PackResourceMetadata metadata, ResourceType type, ResourcePackProfile.InsertionPosition direction, ResourcePackSource source)