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
.invalid @linkplain
after
the mansion placement
- Mappings:
Namespace Name official dlointermediary 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(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, AbstractRandom random) static voidprintRandomFloorLayouts(String[] args)
-
Constructor Details
-
WoodlandMansionGenerator
public WoodlandMansionGenerator()
-
-
Method Details
-
addPieces
public static void addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, AbstractRandom random) - Mappings:
Namespace Name Mixin selector official aLdlo;a(Ldmt;Lgp;Lcnw;Ljava/util/List;Lalf;)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/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Ljava/util/List;Lnet/minecraft/util/math/random/AbstractRandom;)V
-
printRandomFloorLayouts
- Mappings:
Namespace Name Mixin selector official aLdlo;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
-