Package net.minecraft.structure
Interface StructureGeneratorFactory<C extends FeatureConfig>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Mappings:
Namespace Name named net/minecraft/structure/StructureGeneratorFactory
intermediary net/minecraft/class_6834
official ekf
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic <C extends FeatureConfig>
Predicate<StructureGeneratorFactory.Context<C>> checkForBiomeOnTop
(Heightmap.Type heightmapType) static <C extends FeatureConfig>
StructureGeneratorFactory<C> simple
(Predicate<StructureGeneratorFactory.Context<C>> predicate, StructurePiecesGenerator<C> generator)
-
Method Details
-
createGenerator
- Mappings:
Namespace Name Mixin selector named createGenerator
Lnet/minecraft/structure/StructureGeneratorFactory;createGenerator(Lnet/minecraft/structure/StructureGeneratorFactory$Context;)Ljava/util/Optional;
intermediary createGenerator
Lnet/minecraft/class_6834;createGenerator(Lnet/minecraft/class_6834$class_6835;)Ljava/util/Optional;
official createGenerator
Lekf;createGenerator(Lekf$a;)Ljava/util/Optional;
-
simple
static <C extends FeatureConfig> StructureGeneratorFactory<C> simple(Predicate<StructureGeneratorFactory.Context<C>> predicate, StructurePiecesGenerator<C> generator) - Mappings:
Namespace Name Mixin selector named simple
Lnet/minecraft/structure/StructureGeneratorFactory;simple(Ljava/util/function/Predicate;Lnet/minecraft/structure/StructurePiecesGenerator;)Lnet/minecraft/structure/StructureGeneratorFactory;
intermediary simple
Lnet/minecraft/class_6834;simple(Ljava/util/function/Predicate;Lnet/minecraft/class_6622;)Lnet/minecraft/class_6834;
official simple
Lekf;simple(Ljava/util/function/Predicate;Leke;)Lekf;
-
checkForBiomeOnTop
static <C extends FeatureConfig> Predicate<StructureGeneratorFactory.Context<C>> checkForBiomeOnTop(Heightmap.Type heightmapType) - Mappings:
Namespace Name Mixin selector named checkForBiomeOnTop
Lnet/minecraft/structure/StructureGeneratorFactory;checkForBiomeOnTop(Lnet/minecraft/world/Heightmap$Type;)Ljava/util/function/Predicate;
intermediary checkForBiomeOnTop
Lnet/minecraft/class_6834;checkForBiomeOnTop(Lnet/minecraft/class_2902$class_2903;)Ljava/util/function/Predicate;
official checkForBiomeOnTop
Lekf;checkForBiomeOnTop(Ldyy$a;)Ljava/util/function/Predicate;
-