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

    • manager

      private final StructureTemplateManager manager
      Mappings:
      Namespace Name Mixin selector
      official a Ldug$d;a:Ldvm;
      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

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      official b Ldug$d;b:Lapd;
      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 Ldug$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 Ldug$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(StructureTemplateManager manager, Random random)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldug$d;<init>(Ldvm;Lapd;)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 Ldug$d;a(Lgu;Lcvr;Ljava/util/List;Ldug$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 Ldug$d;a(Ljava/util/List;Ldug$e;Ldug$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

      Mappings:
      Namespace Name Mixin selector
      official a Ldug$d;a(Ljava/util/List;Lgu;Lcvr;Ldug$g;Ldug$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 Ldug$d;a(Ljava/util/List;Ldug$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 Ldug$d;b(Ljava/util/List;Ldug$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 Ldug$d;c(Ljava/util/List;Ldug$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 Ldug$d;d(Ljava/util/List;Ldug$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 Ldug$d;a(Ljava/util/List;Lgu;Lcvr;Lha;Ldug$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 Ldug$d;a(Ljava/util/List;Lgu;Lcvr;Lha;Lha;Ldug$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 Ldug$d;a(Ljava/util/List;Lgu;Lcvr;Lha;Lha;Ldug$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 Ldug$d;a(Ljava/util/List;Lgu;Lcvr;Ldug$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