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 official dulintermediary net/minecraft/class_3471named net/minecraft/structure/WoodlandMansionGenerator
-
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) static voidprintRandomFloorLayouts(String[] args)
-
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 official aLdul;a(Ldvr;Lgu;Lcvw;Ljava/util/List;Lapf;)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;)Vnamed 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;)V
-
printRandomFloorLayouts
- Mappings:
Namespace Name Mixin selector official aLdul;a([Ljava/lang/String;)Vintermediary method_35471Lnet/minecraft/class_3471;method_35471([Ljava/lang/String;)Vnamed printRandomFloorLayoutsLnet/minecraft/structure/WoodlandMansionGenerator;printRandomFloorLayouts([Ljava/lang/String;)V
-