Uses of Enum Class
net.minecraft.resource.ResourceType
Packages that use ResourceType
Package
Description
Provides resources to Minecraft, including resource access and provision.
-
Uses of ResourceType in net.minecraft.client.resource
Methods in net.minecraft.client.resource with parameters of type ResourceTypeModifier and TypeMethodDescriptionbooleanDefaultClientResourcePack.contains(ResourceType type, Identifier id) booleanFormat3ResourcePack.contains(ResourceType type, Identifier id) booleanFormat4ResourcePack.contains(ResourceType type, Identifier id) protected @Nullable InputStreamDefaultClientResourcePack.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
Fields in net.minecraft.resource declared as ResourceTypeModifier and TypeFieldDescriptionprivate final ResourceTypeNamespaceResourceManager.typeprivate final ResourceTypeReloadableResourceManagerImpl.typeFields in net.minecraft.resource with type parameters of type ResourceTypeModifier and TypeFieldDescriptionprivate static final Map<ResourceType,FileSystem> DefaultResourcePack.typeToFileSystemMethods in net.minecraft.resource that return ResourceTypeModifier and TypeMethodDescriptionstatic ResourceTypeReturns 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 TypeMethodDescriptionbooleanAbstractFileResourcePack.contains(ResourceType type, Identifier id) booleanDefaultResourcePack.contains(ResourceType type, Identifier id) booleanResourcePack.contains(ResourceType type, Identifier id) protected @Nullable InputStreamDefaultResourcePack.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 ResourcePackCompatibilityResourcePackCompatibility.from(int packVersion, ResourceType type) static ResourcePackCompatibilityResourcePackCompatibility.from(PackResourceMetadata metadata, ResourceType type) private static StringAbstractFileResourcePack.getFilename(ResourceType type, Identifier id) DefaultResourcePack.getNamespaces(ResourceType type) DirectoryResourcePack.getNamespaces(ResourceType type) ResourcePack.getNamespaces(ResourceType type) ZipResourcePack.getNamespaces(ResourceType type) private static StringDefaultResourcePack.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 ResourceTypeModifierConstructorDescriptionNamespaceResourceManager(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)