Package net.minecraft.structure
Class WoodlandMansionGenerator
java.lang.Object
net.minecraft.structure.WoodlandMansionGenerator
The generator for the woodland mansion structure.
The cobblestones underneath the mansion are generated after the mansion placement.
- Mappings:
Namespace Name named net/minecraft/structure/WoodlandMansionGeneratorintermediary net/minecraft/class_3471official emn
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classTheWoodlandMansionGenerator.RoomPoolused for the first floor.private static classA matrix used to store floor information.private static classprivate static classPopulates structure pieces based on the givenparameters.private static classThe parameters that control how the mansion will look like.static classprivate static classProvides methods that sample room template identifiers.private static classTheWoodlandMansionGenerator.RoomPoolused for the second floor.private static classTheWoodlandMansionGenerator.RoomPoolused for the third floor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random)
-
Constructor Details
-
WoodlandMansionGenerator
public WoodlandMansionGenerator()
-
-
Method Details
-
addPieces
public static void addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) - Mappings:
Namespace Name Mixin selector named addPiecesLnet/minecraft/structure/WoodlandMansionGenerator;addPieces(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Ljava/util/List;Lnet/minecraft/util/math/random/Random;)Vintermediary method_15029Lnet/minecraft/class_3471;method_15029(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Ljava/util/List;Lnet/minecraft/class_5819;)Vofficial aLemn;a(Lenu;Ljd;Ldmm;Ljava/util/List;Layw;)V
-