Package net.minecraft.structure
Class WoodlandMansionGenerator.LayoutGenerator
java.lang.Object
net.minecraft.structure.WoodlandMansionGenerator.LayoutGenerator
- Enclosing class:
WoodlandMansionGenerator
Populates structure pieces based on the given
parameters
.- Mappings:
Namespace Name named net/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator
intermediary net/minecraft/class_3471$class_3475
official emn$d
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addBigRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool) private void
addBigSecretRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.RoomPool pool) private void
addEntrance
(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) private void
addMediumRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool, boolean staircase) private void
addOuterWall
(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece, WoodlandMansionGenerator.FlagMatrix layout, Direction direction, int startI, int startJ, int endI, int endJ) private void
addRoof
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.FlagMatrix layout, @Nullable WoodlandMansionGenerator.FlagMatrix nextFloorLayout) private void
addSmallRoom
(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, WoodlandMansionGenerator.RoomPool pool) private void
addWallPiece
(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) void
generate
(BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.MansionParameters parameters) private void
turnLeft
(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) private void
turnRight
(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece)
-
Field Details
-
manager
- Mappings:
Namespace Name Mixin selector named manager
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;manager:Lnet/minecraft/structure/StructureTemplateManager;
intermediary field_15444
Lnet/minecraft/class_3471$class_3475;field_15444:Lnet/minecraft/class_3485;
official a
Lemn$d;a:Lenu;
-
random
- Mappings:
Namespace Name Mixin selector named random
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;random:Lnet/minecraft/util/math/random/Random;
intermediary field_15447
Lnet/minecraft/class_3471$class_3475;field_15447:Lnet/minecraft/class_5819;
official b
Lemn$d;b:Layw;
-
entranceI
private int entranceI- Mappings:
Namespace Name Mixin selector named entranceI
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;entranceI:I
intermediary field_15446
Lnet/minecraft/class_3471$class_3475;field_15446:I
official c
Lemn$d;c:I
-
entranceJ
private int entranceJ- Mappings:
Namespace Name Mixin selector named entranceJ
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;entranceJ:I
intermediary field_15445
Lnet/minecraft/class_3471$class_3475;field_15445:I
official d
Lemn$d;d:I
-
-
Constructor Details
-
LayoutGenerator
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;<init>(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/math/random/Random;)V
intermediary <init>
Lnet/minecraft/class_3471$class_3475;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_5819;)V
official <init>
Lemn$d;<init>(Lenu;Layw;)V
-
-
Method Details
-
generate
public void generate(BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.MansionParameters parameters) - Mappings:
Namespace Name Mixin selector named generate
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;generate(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$MansionParameters;)V
intermediary method_15050
Lnet/minecraft/class_3471$class_3475;method_15050(Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Ljava/util/List;Lnet/minecraft/class_3471$class_3474;)V
official a
Lemn$d;a(Ljd;Ldmm;Ljava/util/List;Lemn$c;)V
-
addOuterWall
private void addOuterWall(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece, WoodlandMansionGenerator.FlagMatrix layout, Direction direction, int startI, int startJ, int endI, int endJ) - Mappings:
Namespace Name Mixin selector named addOuterWall
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addOuterWall(Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$GenerationPiece;Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;Lnet/minecraft/util/math/Direction;IIII)V
intermediary method_15051
Lnet/minecraft/class_3471$class_3475;method_15051(Ljava/util/List;Lnet/minecraft/class_3471$class_3476;Lnet/minecraft/class_3471$class_3478;Lnet/minecraft/class_2350;IIII)V
official a
Lemn$d;a(Ljava/util/List;Lemn$e;Lemn$g;Lji;IIII)V
-
addRoof
private void addRoof(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.FlagMatrix layout, @Nullable @Nullable WoodlandMansionGenerator.FlagMatrix nextFloorLayout) - Mappings:
Namespace Name Mixin selector named addRoof
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addRoof(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;Lnet/minecraft/structure/WoodlandMansionGenerator$FlagMatrix;)V
intermediary method_15055
Lnet/minecraft/class_3471$class_3475;method_15055(Ljava/util/List;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3471$class_3478;Lnet/minecraft/class_3471$class_3478;)V
official a
Lemn$d;a(Ljava/util/List;Ljd;Ldmm;Lemn$g;Lemn$g;)V
-
addEntrance
private void addEntrance(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) - Mappings:
Namespace Name Mixin selector named addEntrance
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addEntrance(Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$GenerationPiece;)V
intermediary method_15054
Lnet/minecraft/class_3471$class_3475;method_15054(Ljava/util/List;Lnet/minecraft/class_3471$class_3476;)V
official a
Lemn$d;a(Ljava/util/List;Lemn$e;)V
-
addWallPiece
private void addWallPiece(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) - Mappings:
Namespace Name Mixin selector named addWallPiece
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addWallPiece(Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$GenerationPiece;)V
intermediary method_15052
Lnet/minecraft/class_3471$class_3475;method_15052(Ljava/util/List;Lnet/minecraft/class_3471$class_3476;)V
official b
Lemn$d;b(Ljava/util/List;Lemn$e;)V
-
turnLeft
private void turnLeft(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) - Mappings:
Namespace Name Mixin selector named turnLeft
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;turnLeft(Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$GenerationPiece;)V
intermediary method_15058
Lnet/minecraft/class_3471$class_3475;method_15058(Ljava/util/List;Lnet/minecraft/class_3471$class_3476;)V
official c
Lemn$d;c(Ljava/util/List;Lemn$e;)V
-
turnRight
private void turnRight(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) - Mappings:
Namespace Name Mixin selector named turnRight
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;turnRight(Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$GenerationPiece;)V
intermediary method_15060
Lnet/minecraft/class_3471$class_3475;method_15060(Ljava/util/List;Lnet/minecraft/class_3471$class_3476;)V
official d
Lemn$d;d(Ljava/util/List;Lemn$e;)V
-
addSmallRoom
private void addSmallRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, WoodlandMansionGenerator.RoomPool pool) - Mappings:
Namespace Name Mixin selector named addSmallRoom
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addSmallRoom(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/Direction;Lnet/minecraft/structure/WoodlandMansionGenerator$RoomPool;)V
intermediary method_15057
Lnet/minecraft/class_3471$class_3475;method_15057(Ljava/util/List;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_2350;Lnet/minecraft/class_3471$class_3473;)V
official a
Lemn$d;a(Ljava/util/List;Ljd;Ldmm;Lji;Lemn$b;)V
-
addMediumRoom
private void addMediumRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool, boolean staircase) - Mappings:
Namespace Name Mixin selector named addMediumRoom
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addMediumRoom(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lnet/minecraft/structure/WoodlandMansionGenerator$RoomPool;Z)V
intermediary method_15059
Lnet/minecraft/class_3471$class_3475;method_15059(Ljava/util/List;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;Lnet/minecraft/class_3471$class_3473;Z)V
official a
Lemn$d;a(Ljava/util/List;Ljd;Ldmm;Lji;Lji;Lemn$b;Z)V
-
addBigRoom
private void addBigRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool) - Mappings:
Namespace Name Mixin selector named addBigRoom
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addBigRoom(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lnet/minecraft/structure/WoodlandMansionGenerator$RoomPool;)V
intermediary method_15056
Lnet/minecraft/class_3471$class_3475;method_15056(Ljava/util/List;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;Lnet/minecraft/class_3471$class_3473;)V
official a
Lemn$d;a(Ljava/util/List;Ljd;Ldmm;Lji;Lji;Lemn$b;)V
-
addBigSecretRoom
private void addBigSecretRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.RoomPool pool) - Mappings:
Namespace Name Mixin selector named addBigSecretRoom
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addBigSecretRoom(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/structure/WoodlandMansionGenerator$RoomPool;)V
intermediary method_15053
Lnet/minecraft/class_3471$class_3475;method_15053(Ljava/util/List;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3471$class_3473;)V
official a
Lemn$d;a(Ljava/util/List;Ljd;Ldmm;Lemn$b;)V
-