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
Modifier and TypeInterfaceDescriptionstatic final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic <C extends FeatureConfiguration>
Predicate<PieceGeneratorSupplier.Context<C>> checkForBiomeOnTop
(Heightmap.Types p_197346_) createGenerator
(PieceGeneratorSupplier.Context<C> p_197348_) static <C extends FeatureConfiguration>
PieceGeneratorSupplier<C> simple
(Predicate<PieceGeneratorSupplier.Context<C>> p_197350_, PieceGenerator<C> p_197351_)
-
Method Details
-
createGenerator
-
simple
static <C extends FeatureConfiguration> PieceGeneratorSupplier<C> simple(Predicate<PieceGeneratorSupplier.Context<C>> p_197350_, PieceGenerator<C> p_197351_) -
checkForBiomeOnTop
static <C extends FeatureConfiguration> Predicate<PieceGeneratorSupplier.Context<C>> checkForBiomeOnTop(Heightmap.Types p_197346_)
-