Class NetherFortressPieces.AbstractPiece

java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.NetherFortressPieces.AbstractPiece
Direct Known Subclasses:
NetherFortressPieces.BridgeCrossing, NetherFortressPieces.BridgeEnd, NetherFortressPieces.BridgePiece, NetherFortressPieces.BridgePlatform, NetherFortressPieces.BridgeSmallCrossing, NetherFortressPieces.BridgeStairs, NetherFortressPieces.CorridorBalcony, NetherFortressPieces.CorridorCrossing, NetherFortressPieces.CorridorExit, NetherFortressPieces.CorridorLeftTurn, NetherFortressPieces.CorridorNetherWartsRoom, NetherFortressPieces.CorridorRightTurn, NetherFortressPieces.CorridorStairs, NetherFortressPieces.SmallCorridor
Enclosing class:
NetherFortressPieces

abstract static class NetherFortressPieces.AbstractPiece extends StructurePiece
Mappings:
Namespace Name
official bbn$m
intermediary net/minecraft/class_1261$class_1274
named net/minecraft/structure/NetherFortressPieces$AbstractPiece
  • Constructor Details

    • AbstractPiece

      public AbstractPiece()
    • AbstractPiece

      protected AbstractPiece(int chainLength)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbbx;<init>(I)V
      intermediary <init> Lnet/minecraft/class_34;<init>(I)V
      named <init> Lnet/minecraft/structure/StructurePiece;<init>(I)V
  • Method Details

    • method_5530

      protected void method_5530(NbtCompound nbtCompound, class_2763 class_2763)
      Specified by:
      method_5530 in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Lbbx;a(Lfy;Lbcg;)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
    • serialize

      protected void serialize(NbtCompound structureNbt)
      Specified by:
      serialize in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Lbbx;a(Lfy;)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
    • checkRemainingPieces

      private int checkRemainingPieces(List<NetherFortressPieces.PieceData> possiblePieces)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn$m;a(Ljava/util/List;)I
      intermediary method_4071 Lnet/minecraft/class_1261$class_1274;method_4071(Ljava/util/List;)I
      named checkRemainingPieces Lnet/minecraft/structure/NetherFortressPieces$AbstractPiece;checkRemainingPieces(Ljava/util/List;)I
    • pickPiece

      private NetherFortressPieces.AbstractPiece pickPiece(NetherFortressPieces.StartPiece start, List<NetherFortressPieces.PieceData> possiblePieces, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn$m;a(Lbbn$q;Ljava/util/List;Ljava/util/List;Ljava/util/Random;IIILfa;I)Lbbn$m;
      intermediary method_4073 Lnet/minecraft/class_1261$class_1274;method_4073(Lnet/minecraft/class_1261$class_1278;Ljava/util/List;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/class_1354;I)Lnet/minecraft/class_1261$class_1274;
      named pickPiece Lnet/minecraft/structure/NetherFortressPieces$AbstractPiece;pickPiece(Lnet/minecraft/structure/NetherFortressPieces$StartPiece;Ljava/util/List;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;I)Lnet/minecraft/structure/NetherFortressPieces$AbstractPiece;
    • generate

      private StructurePiece generate(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn$m;a(Lbbn$q;Ljava/util/List;Ljava/util/Random;IIILfa;IZ)Lbbx;
      intermediary method_4074 Lnet/minecraft/class_1261$class_1274;method_4074(Lnet/minecraft/class_1261$class_1278;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/class_1354;IZ)Lnet/minecraft/class_34;
      named generate Lnet/minecraft/structure/NetherFortressPieces$AbstractPiece;generate(Lnet/minecraft/structure/NetherFortressPieces$StartPiece;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;IZ)Lnet/minecraft/structure/StructurePiece;
    • fillForwardOpening

      @Nullable protected StructurePiece fillForwardOpening(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int leftRightOffset, int heightOffset, boolean inside)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn$m;a(Lbbn$q;Ljava/util/List;Ljava/util/Random;IIZ)Lbbx;
      intermediary method_4075 Lnet/minecraft/class_1261$class_1274;method_4075(Lnet/minecraft/class_1261$class_1278;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/class_34;
      named fillForwardOpening Lnet/minecraft/structure/NetherFortressPieces$AbstractPiece;fillForwardOpening(Lnet/minecraft/structure/NetherFortressPieces$StartPiece;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
    • fillNWOpening

      @Nullable protected StructurePiece fillNWOpening(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int heightOffset, int leftRightOffset, boolean inside)
      Mappings:
      Namespace Name Mixin selector
      official b Lbbn$m;b(Lbbn$q;Ljava/util/List;Ljava/util/Random;IIZ)Lbbx;
      intermediary method_9238 Lnet/minecraft/class_1261$class_1274;method_9238(Lnet/minecraft/class_1261$class_1278;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/class_34;
      named fillNWOpening Lnet/minecraft/structure/NetherFortressPieces$AbstractPiece;fillNWOpening(Lnet/minecraft/structure/NetherFortressPieces$StartPiece;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
    • fillSEOpening

      @Nullable protected StructurePiece fillSEOpening(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int heightOffset, int leftRightOffset, boolean inside)
      Mappings:
      Namespace Name Mixin selector
      official c Lbbn$m;c(Lbbn$q;Ljava/util/List;Ljava/util/Random;IIZ)Lbbx;
      intermediary method_9239 Lnet/minecraft/class_1261$class_1274;method_9239(Lnet/minecraft/class_1261$class_1278;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/class_34;
      named fillSEOpening Lnet/minecraft/structure/NetherFortressPieces$AbstractPiece;fillSEOpening(Lnet/minecraft/structure/NetherFortressPieces$StartPiece;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
    • isInbounds

      protected static boolean isInbounds(BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbn$m;a(Lbbg;)Z
      intermediary method_4072 Lnet/minecraft/class_1261$class_1274;method_4072(Lnet/minecraft/class_1251;)Z
      named isInbounds Lnet/minecraft/structure/NetherFortressPieces$AbstractPiece;isInbounds(Lnet/minecraft/util/math/BlockBox;)Z