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 dmr
intermediary net/minecraft/class_3471
named net/minecraft/structure/WoodlandMansionGenerator
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
TheWoodlandMansionGenerator.RoomPool
used for the first floor.private static class
A matrix used to store floor information.private static class
private static class
Populates structure pieces based on the givenparameters
.private static class
The parameters that control how the mansion will look like.static class
private static class
Provides methods that sample room template identifiers.private static class
TheWoodlandMansionGenerator.RoomPool
used for the second floor.private static class
TheWoodlandMansionGenerator.RoomPool
used for the third floor. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) static void
printRandomFloorLayouts
(String[] args)
-
Constructor Details
-
WoodlandMansionGenerator
public WoodlandMansionGenerator()
-
-
Method Details
-
addPieces
public static void addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) - Mappings:
Namespace Name Mixin selector official a
Ldmr;a(Ldnw;Lgt;Lcoz;Ljava/util/List;Lalu;)V
intermediary method_15029
Lnet/minecraft/class_3471;method_15029(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Ljava/util/List;Lnet/minecraft/class_5819;)V
named addPieces
Lnet/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/Random;)V
-
printRandomFloorLayouts
- Mappings:
Namespace Name Mixin selector official a
Ldmr;a([Ljava/lang/String;)V
intermediary method_35471
Lnet/minecraft/class_3471;method_35471([Ljava/lang/String;)V
named printRandomFloorLayouts
Lnet/minecraft/structure/WoodlandMansionGenerator;printRandomFloorLayouts([Ljava/lang/String;)V
-