Class NetherFortressGenerator.Piece

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

private abstract static class NetherFortressGenerator.Piece extends StructurePiece
Mappings:
Namespace Name
named net/minecraft/structure/NetherFortressGenerator$Piece
intermediary net/minecraft/class_3390$class_3403
official ept$m
  • Constructor Details Link icon

    • Piece Link icon

      protected Piece(StructurePieceType type, int length, BlockBox boundingBox)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/BlockBox;)V
      intermediary <init> Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3341;)V
      official <init> Lenr;<init>(Leoe;ILenf;)V
    • Piece Link icon

      public Piece(StructurePieceType type, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary <init> Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)V
      official <init> Lenr;<init>(Leoe;Ltq;)V
  • Method Details Link icon

    • writeNbt Link icon

      protected void writeNbt(StructureContext context, NbtCompound nbt)
      Specified by:
      writeNbt in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      named writeNbt Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
      official a Lenr;a(Leod;Ltq;)V
    • checkRemainingPieces Link icon

      private int checkRemainingPieces(List<NetherFortressGenerator.PieceData> possiblePieces)
      Mappings:
      Namespace Name Mixin selector
      named checkRemainingPieces Lnet/minecraft/structure/NetherFortressGenerator$Piece;checkRemainingPieces(Ljava/util/List;)I
      intermediary method_14810 Lnet/minecraft/class_3390$class_3403;method_14810(Ljava/util/List;)I
      official a Lept$m;a(Ljava/util/List;)I
    • pickPiece Link icon

      private NetherFortressGenerator.Piece pickPiece(NetherFortressGenerator.Start start, List<NetherFortressGenerator.PieceData> possiblePieces, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength)
      Mappings:
      Namespace Name Mixin selector
      named pickPiece Lnet/minecraft/structure/NetherFortressGenerator$Piece;pickPiece(Lnet/minecraft/structure/NetherFortressGenerator$Start;Ljava/util/List;Lnet/minecraft/structure/StructurePiecesHolder;Lnet/minecraft/util/math/random/Random;IIILnet/minecraft/util/math/Direction;I)Lnet/minecraft/structure/NetherFortressGenerator$Piece;
      intermediary method_14811 Lnet/minecraft/class_3390$class_3403;method_14811(Lnet/minecraft/class_3390$class_3407;Ljava/util/List;Lnet/minecraft/class_6130;Lnet/minecraft/class_5819;IIILnet/minecraft/class_2350;I)Lnet/minecraft/class_3390$class_3403;
      official a Lept$m;a(Lept$q;Ljava/util/List;Lens;Lazh;IIILjn;I)Lept$m;
    • pieceGenerator Link icon

      private StructurePiece pieceGenerator(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable @Nullable Direction orientation, int chainLength, boolean inside)
      Mappings:
      Namespace Name Mixin selector
      named pieceGenerator Lnet/minecraft/structure/NetherFortressGenerator$Piece;pieceGenerator(Lnet/minecraft/structure/NetherFortressGenerator$Start;Lnet/minecraft/structure/StructurePiecesHolder;Lnet/minecraft/util/math/random/Random;IIILnet/minecraft/util/math/Direction;IZ)Lnet/minecraft/structure/StructurePiece;
      intermediary method_14813 Lnet/minecraft/class_3390$class_3403;method_14813(Lnet/minecraft/class_3390$class_3407;Lnet/minecraft/class_6130;Lnet/minecraft/class_5819;IIILnet/minecraft/class_2350;IZ)Lnet/minecraft/class_3443;
      official a Lept$m;a(Lept$q;Lens;Lazh;IIILjn;IZ)Lenr;
    • fillForwardOpening Link icon

      @Nullable protected @Nullable StructurePiece fillForwardOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset, boolean inside)
      Mappings:
      Namespace Name Mixin selector
      named fillForwardOpening Lnet/minecraft/structure/NetherFortressGenerator$Piece;fillForwardOpening(Lnet/minecraft/structure/NetherFortressGenerator$Start;Lnet/minecraft/structure/StructurePiecesHolder;Lnet/minecraft/util/math/random/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
      intermediary method_14814 Lnet/minecraft/class_3390$class_3403;method_14814(Lnet/minecraft/class_3390$class_3407;Lnet/minecraft/class_6130;Lnet/minecraft/class_5819;IIZ)Lnet/minecraft/class_3443;
      official a Lept$m;a(Lept$q;Lens;Lazh;IIZ)Lenr;
    • fillNWOpening Link icon

      @Nullable protected @Nullable StructurePiece fillNWOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside)
      Mappings:
      Namespace Name Mixin selector
      named fillNWOpening Lnet/minecraft/structure/NetherFortressGenerator$Piece;fillNWOpening(Lnet/minecraft/structure/NetherFortressGenerator$Start;Lnet/minecraft/structure/StructurePiecesHolder;Lnet/minecraft/util/math/random/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
      intermediary method_14812 Lnet/minecraft/class_3390$class_3403;method_14812(Lnet/minecraft/class_3390$class_3407;Lnet/minecraft/class_6130;Lnet/minecraft/class_5819;IIZ)Lnet/minecraft/class_3443;
      official b Lept$m;b(Lept$q;Lens;Lazh;IIZ)Lenr;
    • fillSEOpening Link icon

      @Nullable protected @Nullable StructurePiece fillSEOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside)
      Mappings:
      Namespace Name Mixin selector
      named fillSEOpening Lnet/minecraft/structure/NetherFortressGenerator$Piece;fillSEOpening(Lnet/minecraft/structure/NetherFortressGenerator$Start;Lnet/minecraft/structure/StructurePiecesHolder;Lnet/minecraft/util/math/random/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
      intermediary method_14808 Lnet/minecraft/class_3390$class_3403;method_14808(Lnet/minecraft/class_3390$class_3407;Lnet/minecraft/class_6130;Lnet/minecraft/class_5819;IIZ)Lnet/minecraft/class_3443;
      official c Lept$m;c(Lept$q;Lens;Lazh;IIZ)Lenr;
    • isInBounds Link icon

      protected static boolean isInBounds(BlockBox boundingBox)
      Mappings:
      Namespace Name Mixin selector
      named isInBounds Lnet/minecraft/structure/NetherFortressGenerator$Piece;isInBounds(Lnet/minecraft/util/math/BlockBox;)Z
      intermediary method_14809 Lnet/minecraft/class_3390$class_3403;method_14809(Lnet/minecraft/class_3341;)Z
      official a Lept$m;a(Lenf;)Z