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 dug
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
(StructureTemplateManager 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(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) - Mappings:
Namespace Name Mixin selector official a
Ldug;a(Ldvm;Lgu;Lcvr;Ljava/util/List;Lapd;)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/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 a
Ldug;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
-