optionalPaper
fun <T : Keyed> optionalPaper(key: TypedKey<T>, registryAccess: RegistryAccess = RegistryAccess.registryAccess()): Provider<RegistryEntry.Paper<T>?>
Returns a provider of a RegistryEntry.Paper for the given key, resolving from registryAccess. When the key is not present in the registry, the returned provider's value will be null. Trying to resolve the returned provider before paper registries are available will result in an exception.