Class WoodlandMansionGenerator.LayoutGenerator

java.lang.Object
net.minecraft.structure.WoodlandMansionGenerator.LayoutGenerator
Enclosing class:
WoodlandMansionGenerator

private static class WoodlandMansionGenerator.LayoutGenerator extends Object
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 erf$d
  • Field Details

    • manager

      private final StructureTemplateManager 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 Lerf$d;a:Lesm;
    • random

      private final Random 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 Lerf$d;b:Lbam;
    • 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 Lerf$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 Lerf$d;d:I
  • Constructor Details

    • LayoutGenerator

      public LayoutGenerator(StructureTemplateManager manager, Random random)
      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> Lerf$d;<init>(Lesm;Lbam;)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 Lerf$d;a(Ljh;Ldrb;Ljava/util/List;Lerf$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 Lerf$d;a(Ljava/util/List;Lerf$e;Lerf$g;Ljm;IIII)V
    • addRoof

      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 Lerf$d;a(Ljava/util/List;Ljh;Ldrb;Lerf$g;Lerf$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 Lerf$d;a(Ljava/util/List;Lerf$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 Lerf$d;b(Ljava/util/List;Lerf$e;)V
    • turnLeft

      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 Lerf$d;c(Ljava/util/List;Lerf$e;)V
    • turnRight

      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 Lerf$d;d(Ljava/util/List;Lerf$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 Lerf$d;a(Ljava/util/List;Ljh;Ldrb;Ljm;Lerf$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 Lerf$d;a(Ljava/util/List;Ljh;Ldrb;Ljm;Ljm;Lerf$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 Lerf$d;a(Ljava/util/List;Ljh;Ldrb;Ljm;Ljm;Lerf$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 Lerf$d;a(Ljava/util/List;Ljh;Ldrb;Lerf$b;)V