Uses of Enum Class
net.minecraft.resource.ResourceType
Packages that use ResourceType
Package
Description
Provides resources to Minecraft, including resource access, provision, and reloading.
-
Uses of ResourceType in net.minecraft.client.resource
Methods in net.minecraft.client.resource with parameters of type ResourceTypeModifier 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
Fields in net.minecraft.resource declared as ResourceTypeModifier and TypeFieldDescription(package private) final ResourceType
NamespaceResourceManager.type
private final ResourceType
ReloadableResourceManagerImpl.type
Fields in net.minecraft.resource with type parameters of type ResourceTypeModifier and TypeFieldDescriptionprivate static final Map<ResourceType,
Path> DefaultResourcePack.TYPE_TO_FILE_SYSTEM
Methods in net.minecraft.resource that return ResourceTypeModifier 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.Methods in net.minecraft.resource with parameters of type ResourceTypeModifier 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) Constructors in net.minecraft.resource with parameters of type ResourceTypeModifierConstructorDescriptionLifecycledResourceManagerImpl
(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)