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
official dmr$d
intermediary net/minecraft/class_3471$class_3475
named net/minecraft/structure/WoodlandMansionGenerator$LayoutGenerator
  • Field Details

    • manager

      private final StructureManager manager
      Mappings:
      Namespace Name Mixin selector
      official a Ldmr$d;a:Ldnw;
      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/StructureManager;
    • random

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      official b Ldmr$d;b:Lalu;
      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 Ldmr$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 Ldmr$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

      public LayoutGenerator(StructureManager manager, Random random)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldmr$d;<init>(Ldnw;Lalu;)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/StructureManager;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 Ldmr$d;a(Lgt;Lcoz;Ljava/util/List;Ldmr$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 Ldmr$d;a(Ljava/util/List;Ldmr$e;Ldmr$g;Lgy;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

      Mappings:
      Namespace Name Mixin selector
      official a Ldmr$d;a(Ljava/util/List;Lgt;Lcoz;Ldmr$g;Ldmr$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 Ldmr$d;a(Ljava/util/List;Ldmr$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 Ldmr$d;b(Ljava/util/List;Ldmr$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

      Mappings:
      Namespace Name Mixin selector
      official c Ldmr$d;c(Ljava/util/List;Ldmr$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

      Mappings:
      Namespace Name Mixin selector
      official d Ldmr$d;d(Ljava/util/List;Ldmr$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 Ldmr$d;a(Ljava/util/List;Lgt;Lcoz;Lgy;Ldmr$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 Ldmr$d;a(Ljava/util/List;Lgt;Lcoz;Lgy;Lgy;Ldmr$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 Ldmr$d;a(Ljava/util/List;Lgt;Lcoz;Lgy;Lgy;Ldmr$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 Ldmr$d;a(Ljava/util/List;Lgt;Lcoz;Ldmr$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