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 official dxw$d
intermediary net/minecraft/class_3471$class_3475
named net/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator
-
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 official a
Ldxw$d;a:Ldzc;
intermediary field_15444
Lnet/minecraft/class_3471$class_3475;field_15444:Lnet/minecraft/class_3485;
named manager
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;manager:Lnet/minecraft/structure/StructureTemplateManager;
-
random
- Mappings:
Namespace Name Mixin selector official b
Ldxw$d;b:Lasc;
intermediary field_15447
Lnet/minecraft/class_3471$class_3475;field_15447:Lnet/minecraft/class_5819;
named random
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;random:Lnet/minecraft/util/math/random/Random;
-
entranceI
private int entranceI- Mappings:
Namespace Name Mixin selector official c
Ldxw$d;c:I
intermediary field_15446
Lnet/minecraft/class_3471$class_3475;field_15446:I
named entranceI
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;entranceI:I
-
entranceJ
private int entranceJ- Mappings:
Namespace Name Mixin selector official d
Ldxw$d;d:I
intermediary field_15445
Lnet/minecraft/class_3471$class_3475;field_15445:I
named entranceJ
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;entranceJ:I
-
-
Constructor Details
-
LayoutGenerator
- Mappings:
Namespace Name Mixin selector official <init>
Ldxw$d;<init>(Ldzc;Lasc;)V
intermediary <init>
Lnet/minecraft/class_3471$class_3475;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_5819;)V
named <init>
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;<init>(Lnet/minecraft/structure/StructureTemplateManager;Lnet/minecraft/util/math/random/Random;)V
-
-
Method Details
-
generate
public void generate(BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.MansionParameters parameters) - Mappings:
Namespace Name Mixin selector official a
Ldxw$d;a(Lgw;Lczh;Ljava/util/List;Ldxw$c;)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
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
-
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 official a
Ldxw$d;a(Ljava/util/List;Ldxw$e;Ldxw$g;Lha;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
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
-
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 official a
Ldxw$d;a(Ljava/util/List;Lgw;Lczh;Ldxw$g;Ldxw$g;)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
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
-
addEntrance
private void addEntrance(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) - Mappings:
Namespace Name Mixin selector official a
Ldxw$d;a(Ljava/util/List;Ldxw$e;)V
intermediary method_15054
Lnet/minecraft/class_3471$class_3475;method_15054(Ljava/util/List;Lnet/minecraft/class_3471$class_3476;)V
named addEntrance
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addEntrance(Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$GenerationPiece;)V
-
addWallPiece
private void addWallPiece(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) - Mappings:
Namespace Name Mixin selector official b
Ldxw$d;b(Ljava/util/List;Ldxw$e;)V
intermediary method_15052
Lnet/minecraft/class_3471$class_3475;method_15052(Ljava/util/List;Lnet/minecraft/class_3471$class_3476;)V
named addWallPiece
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;addWallPiece(Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$GenerationPiece;)V
-
turnLeft
private void turnLeft(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) - Mappings:
Namespace Name Mixin selector official c
Ldxw$d;c(Ljava/util/List;Ldxw$e;)V
intermediary method_15058
Lnet/minecraft/class_3471$class_3475;method_15058(Ljava/util/List;Lnet/minecraft/class_3471$class_3476;)V
named turnLeft
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;turnLeft(Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$GenerationPiece;)V
-
turnRight
private void turnRight(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece) - Mappings:
Namespace Name Mixin selector official d
Ldxw$d;d(Ljava/util/List;Ldxw$e;)V
intermediary method_15060
Lnet/minecraft/class_3471$class_3475;method_15060(Ljava/util/List;Lnet/minecraft/class_3471$class_3476;)V
named turnRight
Lnet/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator;turnRight(Ljava/util/List;Lnet/minecraft/structure/WoodlandMansionGenerator$GenerationPiece;)V
-
addSmallRoom
private void addSmallRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, WoodlandMansionGenerator.RoomPool pool) - Mappings:
Namespace Name Mixin selector official a
Ldxw$d;a(Ljava/util/List;Lgw;Lczh;Lha;Ldxw$b;)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
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
-
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 official a
Ldxw$d;a(Ljava/util/List;Lgw;Lczh;Lha;Lha;Ldxw$b;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
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
-
addBigRoom
private void addBigRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool) - Mappings:
Namespace Name Mixin selector official a
Ldxw$d;a(Ljava/util/List;Lgw;Lczh;Lha;Lha;Ldxw$b;)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
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
-
addBigSecretRoom
private void addBigSecretRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, WoodlandMansionGenerator.RoomPool pool) - Mappings:
Namespace Name Mixin selector official a
Ldxw$d;a(Ljava/util/List;Lgw;Lczh;Ldxw$b;)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
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
-