getOptionalTag

abstract fun getOptionalTag(key: Key): Provider<RegistryEntrySet.Nova.Tag<T>?>

Gets a provider that contains an entry set like the one resolved from getTag or null if no tag exists for the given key. This function may be used before registries are frozen (i.e. during bootstrap) and before the actual tag is available.