Uses of Enum Class
net.minecraft.resource.ResourceType
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
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, Predicate<Identifier> allowedPathPredicate) Format3ResourcePack.findResources
(ResourceType type, String namespace, String prefix, Predicate<Identifier> allowedPathPredicate) Format4ResourcePack.findResources
(ResourceType type, String namespace, String prefix, Predicate<Identifier> allowedPathPredicate) 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 TypeFieldDescription(package private) final ResourceType
NamespaceResourceManager.type
private final ResourceType
ReloadableResourceManagerImpl.type
Modifier and TypeFieldDescriptionprivate static final Map<ResourceType,
Path> DefaultResourcePack.TYPE_TO_FILE_SYSTEM
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, Predicate<Identifier> allowedPathPredicate) DirectoryResourcePack.findResources
(ResourceType type, String namespace, String prefix, Predicate<Identifier> allowedPathPredicate) ResourcePack.findResources
(ResourceType type, String namespace, String prefix, Predicate<Identifier> allowedPathPredicate) ZipResourcePack.findResources
(ResourceType type, String namespace, String prefix, Predicate<Identifier> allowedPathPredicate) 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) ModifierConstructorDescriptionLifecycledResourceManagerImpl
(ResourceType type, List<ResourcePack> packs) NamespaceResourceManager
(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)