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>> checkForBiomeOnTop
(Heightmap.Types heightmapType) createGenerator
(PieceGeneratorSupplier.Context<C> context) static <C extends FeatureConfiguration>
PieceGeneratorSupplier<C> simple
(Predicate<PieceGeneratorSupplier.Context<C>> predicate, PieceGenerator<C> pieceGenerator)
-
Method Details
-
createGenerator
-
simple
static <C extends FeatureConfiguration> PieceGeneratorSupplier<C> simple(Predicate<PieceGeneratorSupplier.Context<C>> predicate, PieceGenerator<C> pieceGenerator) -
checkForBiomeOnTop
static <C extends FeatureConfiguration> Predicate<PieceGeneratorSupplier.Context<C>> checkForBiomeOnTop(Heightmap.Types heightmapType)
-