Interface PieceGeneratorSupplier<C extends FeatureConfiguration>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record -
Method Summary
Modifier and TypeMethodDescriptionstatic <C extends FeatureConfiguration>
Predicate<PieceGeneratorSupplier.Context<C>> createGenerator(PieceGeneratorSupplier.Context<C> context) static <C extends FeatureConfiguration>
PieceGeneratorSupplier<C> simple(Predicate<PieceGeneratorSupplier.Context<C>> check, PieceGenerator<C> generator)
-
Method Details
-
createGenerator
-
simple
static <C extends FeatureConfiguration> PieceGeneratorSupplier<C> simple(Predicate<PieceGeneratorSupplier.Context<C>> check, PieceGenerator<C> generator) -
checkForBiomeOnTop
static <C extends FeatureConfiguration> Predicate<PieceGeneratorSupplier.Context<C>> checkForBiomeOnTop(Heightmap.Types type)
-