hasBuiltInFeature

boolean hasBuiltInFeature(ConfiguredFeature<? extends Object, ? extends Object> configuredFeature)

Returns true if this biome has the given configured feature, which must be registeredin the net.minecraft.util.registry.BuiltinRegistries.

This method is intended for use with the Vanilla configured features found in net.minecraft.world.gen.feature.ConfiguredFeatures.

Sources

jvm source
Link copied to clipboard