Package net.minecraft.structure
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
- Mappings:
Namespace Name official bbn$mintermediary net/minecraft/class_1261$class_1274named net/minecraft/structure/NetherFortressPieces$AbstractPiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
Fields inherited from class net.minecraft.structure.StructurePiece
boundingBox, chainLength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intcheckRemainingPieces(List<NetherFortressPieces.PieceData> possiblePieces) protected StructurePiecefillForwardOpening(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int leftRightOffset, int heightOffset, boolean inside) protected StructurePiecefillNWOpening(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int heightOffset, int leftRightOffset, boolean inside) protected StructurePiecefillSEOpening(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int heightOffset, int leftRightOffset, boolean inside) private StructurePiecegenerate(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength, boolean inside) protected static booleanisInbounds(BlockBox box) protected voidmethod_5530(NbtCompound nbtCompound, class_2763 class_2763) pickPiece(NetherFortressPieces.StartPiece start, List<NetherFortressPieces.PieceData> possiblePieces, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) protected voidserialize(NbtCompound structureNbt) Methods inherited from class net.minecraft.structure.StructurePiece
addBlockWithRandomThreshold, applyXTransform, applyYTransform, applyZTransform, clearBlocksUpwards, fillAirAndLiquidsDownwards, fillHalfEllipsoid, fillOpenings, fillRandomized, fillWithOutline, fromNbt, generate, getBlockAt, getBoundingBox, getChainLength, getOverlappingPiece, isTouchingLiquid, method_11851, method_11852, method_11853, method_11854, method_13377, method_13378, method_13775, method_6569, setAir, setBlockState, toNbt, translate
-
Constructor Details
-
AbstractPiece
public AbstractPiece() -
AbstractPiece
protected AbstractPiece(int chainLength) - Mappings:
Namespace Name Mixin selector official <init>Lbbx;<init>(I)Vintermediary <init>Lnet/minecraft/class_34;<init>(I)Vnamed <init>Lnet/minecraft/structure/StructurePiece;<init>(I)V
-
-
Method Details
-
method_5530
- Specified by:
method_5530in classStructurePiece- Mappings:
Namespace Name Mixin selector official aLbbx;a(Lfy;Lbcg;)Vintermediary method_5530Lnet/minecraft/class_34;method_5530(Lnet/minecraft/class_322;Lnet/minecraft/class_2763;)Vnamed method_5530Lnet/minecraft/structure/StructurePiece;method_5530(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/class_2763;)V
-
serialize
- Specified by:
serializein classStructurePiece- Mappings:
Namespace Name Mixin selector official aLbbx;a(Lfy;)Vintermediary method_5528Lnet/minecraft/class_34;method_5528(Lnet/minecraft/class_322;)Vnamed serializeLnet/minecraft/structure/StructurePiece;serialize(Lnet/minecraft/nbt/NbtCompound;)V
-
checkRemainingPieces
- Mappings:
Namespace Name Mixin selector official aLbbn$m;a(Ljava/util/List;)Iintermediary method_4071Lnet/minecraft/class_1261$class_1274;method_4071(Ljava/util/List;)Inamed checkRemainingPiecesLnet/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 aLbbn$m;a(Lbbn$q;Ljava/util/List;Ljava/util/List;Ljava/util/Random;IIILfa;I)Lbbn$m;intermediary method_4073Lnet/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 pickPieceLnet/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 aLbbn$m;a(Lbbn$q;Ljava/util/List;Ljava/util/Random;IIILfa;IZ)Lbbx;intermediary method_4074Lnet/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 generateLnet/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 aLbbn$m;a(Lbbn$q;Ljava/util/List;Ljava/util/Random;IIZ)Lbbx;intermediary method_4075Lnet/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 fillForwardOpeningLnet/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 bLbbn$m;b(Lbbn$q;Ljava/util/List;Ljava/util/Random;IIZ)Lbbx;intermediary method_9238Lnet/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 fillNWOpeningLnet/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 cLbbn$m;c(Lbbn$q;Ljava/util/List;Ljava/util/Random;IIZ)Lbbx;intermediary method_9239Lnet/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 fillSEOpeningLnet/minecraft/structure/NetherFortressPieces$AbstractPiece;fillSEOpening(Lnet/minecraft/structure/NetherFortressPieces$StartPiece;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
-
isInbounds
- Mappings:
Namespace Name Mixin selector official aLbbn$m;a(Lbbg;)Zintermediary method_4072Lnet/minecraft/class_1261$class_1274;method_4072(Lnet/minecraft/class_1251;)Znamed isInboundsLnet/minecraft/structure/NetherFortressPieces$AbstractPiece;isInbounds(Lnet/minecraft/util/math/BlockBox;)Z
-