getFeatureKey

Optional<RegistryKey<ConfiguredFeature<? extends Object, ? extends Object>>> getFeatureKey(ConfiguredFeature<? extends Object, ? extends Object> configuredFeature)

Tries to retrieve the registry key for the given configured feature, which should be from this biomescurrent feature list. May be empty if the configured feature is not registered, or does not comefrom this biomes feature list.

Sources

jvm source
Link copied to clipboard