Class StrongholdPieces.SquareRoom

Enclosing class:
StrongholdPieces

public static class StrongholdPieces.SquareRoom extends StrongholdPieces.AbstractPiece
Mappings:
Namespace Name
official aym$j
intermediary net/minecraft/class_11$class_24
named net/minecraft/structure/StrongholdPieces$SquareRoom
  • Field Details

    • roomType

      protected int roomType
      Mappings:
      Namespace Name Mixin selector
      official a Laym$j;a:I
      intermediary field_47 Lnet/minecraft/class_11$class_24;field_47:I
      named roomType Lnet/minecraft/structure/StrongholdPieces$SquareRoom;roomType:I
  • Constructor Details

    • SquareRoom

      public SquareRoom()
    • SquareRoom

      public SquareRoom(int chainLength, Random random, BlockBox boundingBox, Direction orientation)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laym$j;<init>(ILjava/util/Random;Laxz;Lcv;)V
      intermediary <init> Lnet/minecraft/class_11$class_24;<init>(ILjava/util/Random;Lnet/minecraft/class_1251;Lnet/minecraft/class_1354;)V
      named <init> Lnet/minecraft/structure/StrongholdPieces$SquareRoom;<init>(ILjava/util/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/Direction;)V
  • Method Details

    • serialize

      protected void serialize(NbtCompound structureNbt)
      Overrides:
      serialize in class StrongholdPieces.AbstractPiece
      Mappings:
      Namespace Name Mixin selector
      official a Layq;a(Ldu;)V
      intermediary method_5528 Lnet/minecraft/class_34;method_5528(Lnet/minecraft/class_322;)V
      named serialize Lnet/minecraft/structure/StructurePiece;serialize(Lnet/minecraft/nbt/NbtCompound;)V
    • method_5530

      protected void method_5530(NbtCompound nbtCompound, class_2763 class_2763)
      Overrides:
      method_5530 in class StrongholdPieces.AbstractPiece
      Mappings:
      Namespace Name Mixin selector
      official a Layq;a(Ldu;Layz;)V
      intermediary method_5530 Lnet/minecraft/class_34;method_5530(Lnet/minecraft/class_322;Lnet/minecraft/class_2763;)V
      named method_5530 Lnet/minecraft/structure/StructurePiece;method_5530(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/class_2763;)V
    • fillOpenings

      public void fillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random)
      Overrides:
      fillOpenings in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Layq;a(Layq;Ljava/util/List;Ljava/util/Random;)V
      intermediary method_54 Lnet/minecraft/class_34;method_54(Lnet/minecraft/class_34;Ljava/util/List;Ljava/util/Random;)V
      named fillOpenings Lnet/minecraft/structure/StructurePiece;fillOpenings(Lnet/minecraft/structure/StructurePiece;Ljava/util/List;Ljava/util/Random;)V
    • create

      public static StrongholdPieces.SquareRoom create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)
      Mappings:
      Namespace Name Mixin selector
      official a Laym$j;a(Ljava/util/List;Ljava/util/Random;IIILcv;I)Laym$j;
      intermediary method_34 Lnet/minecraft/class_11$class_24;method_34(Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/class_1354;I)Lnet/minecraft/class_11$class_24;
      named create Lnet/minecraft/structure/StrongholdPieces$SquareRoom;create(Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;I)Lnet/minecraft/structure/StrongholdPieces$SquareRoom;
    • generate

      public boolean generate(World world, Random random, BlockBox boundingBox)
      Specified by:
      generate in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Layq;a(Lajs;Ljava/util/Random;Laxz;)Z
      intermediary method_58 Lnet/minecraft/class_34;method_58(Lnet/minecraft/class_1150;Ljava/util/Random;Lnet/minecraft/class_1251;)Z
      named generate Lnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/World;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;)Z