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 official dsd
intermediary net/minecraft/class_6834
named net/minecraft/structure/StructureGeneratorFactory
-
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 official createGenerator
Ldsd;createGenerator(Ldsd$a;)Ljava/util/Optional;
intermediary createGenerator
Lnet/minecraft/class_6834;createGenerator(Lnet/minecraft/class_6834$class_6835;)Ljava/util/Optional;
named createGenerator
Lnet/minecraft/structure/StructureGeneratorFactory;createGenerator(Lnet/minecraft/structure/StructureGeneratorFactory$Context;)Ljava/util/Optional;
-
simple
static <C extends FeatureConfig> StructureGeneratorFactory<C> simple(Predicate<StructureGeneratorFactory.Context<C>> predicate, StructurePiecesGenerator<C> generator) - Mappings:
Namespace Name Mixin selector official simple
Ldsd;simple(Ljava/util/function/Predicate;Ldsc;)Ldsd;
intermediary simple
Lnet/minecraft/class_6834;simple(Ljava/util/function/Predicate;Lnet/minecraft/class_6622;)Lnet/minecraft/class_6834;
named simple
Lnet/minecraft/structure/StructureGeneratorFactory;simple(Ljava/util/function/Predicate;Lnet/minecraft/structure/StructurePiecesGenerator;)Lnet/minecraft/structure/StructureGeneratorFactory;
-
checkForBiomeOnTop
static <C extends FeatureConfig> Predicate<StructureGeneratorFactory.Context<C>> checkForBiomeOnTop(Heightmap.Type heightmapType) - Mappings:
Namespace Name Mixin selector official checkForBiomeOnTop
Ldsd;checkForBiomeOnTop(Ldgz$a;)Ljava/util/function/Predicate;
intermediary checkForBiomeOnTop
Lnet/minecraft/class_6834;checkForBiomeOnTop(Lnet/minecraft/class_2902$class_2903;)Ljava/util/function/Predicate;
named checkForBiomeOnTop
Lnet/minecraft/structure/StructureGeneratorFactory;checkForBiomeOnTop(Lnet/minecraft/world/Heightmap$Type;)Ljava/util/function/Predicate;
-