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 pHeightmapType) createGenerator
(PieceGeneratorSupplier.Context<C> pContext) static <C extends FeatureConfiguration>
PieceGeneratorSupplier<C> simple
(Predicate<PieceGeneratorSupplier.Context<C>> pPredicate, PieceGenerator<C> pPieceGenerator)
-
Method Details
-
createGenerator
-
simple
static <C extends FeatureConfiguration> PieceGeneratorSupplier<C> simple(Predicate<PieceGeneratorSupplier.Context<C>> pPredicate, PieceGenerator<C> pPieceGenerator) -
checkForBiomeOnTop
static <C extends FeatureConfiguration> Predicate<PieceGeneratorSupplier.Context<C>> checkForBiomeOnTop(Heightmap.Types pHeightmapType)
-