optionalRegistryEntrySetOf

fun <T : Keyed> optionalRegistryEntrySetOf(tagKey: TagKey<T>, registryAccess: RegistryAccess = RegistryAccess.registryAccess()): Provider<RegistryEntrySet.Paper.Tag<T>?>

Returns a provider of an RegistryEntrySet.Paper.Tag for the given tagKey, resolving from registryAccess, or null if the tag doesn't exist in the registry.