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 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, 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 ResourceTypeNamespaceResourceManager.typeprivate final ResourceTypeReloadableResourceManagerImpl.typeFields in net.minecraft.resource with type parameters of type ResourceTypeModifier and TypeFieldDescriptionprivate static final Map<ResourceType,Path> DefaultResourcePack.TYPE_TO_FILE_SYSTEMMethods 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, 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 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 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)