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 awn$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 voiddeserialize(NbtCompound structureNbt) 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) 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, getCenterBlockPos, getChainLength, getOverlappingPiece, isTouchingLiquid, method_11851, method_11852, method_11853, method_11854, method_13377, method_13378, method_6569, setAir, setBlockState, toNbt, translate
-
Constructor Details
-
AbstractPiece
public AbstractPiece() -
AbstractPiece
protected AbstractPiece(int chainLength) - Mappings:
Namespace Name Mixin selector official <init>Lawx;<init>(I)Vintermediary <init>Lnet/minecraft/class_34;<init>(I)Vnamed <init>Lnet/minecraft/structure/StructurePiece;<init>(I)V
-
-
Method Details
-
deserialize
- Specified by:
deserializein classStructurePiece- Mappings:
Namespace Name Mixin selector official bLawx;b(Ldr;)Vintermediary method_5530Lnet/minecraft/class_34;method_5530(Lnet/minecraft/class_322;)Vnamed deserializeLnet/minecraft/structure/StructurePiece;deserialize(Lnet/minecraft/nbt/NbtCompound;)V
-
serialize
- Specified by:
serializein classStructurePiece- Mappings:
Namespace Name Mixin selector official aLawx;a(Ldr;)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 aLawn$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 aLawn$m;a(Lawn$q;Ljava/util/List;Ljava/util/List;Ljava/util/Random;IIILct;I)Lawn$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 aLawn$m;a(Lawn$q;Ljava/util/List;Ljava/util/Random;IIILct;IZ)Lawx;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
protected StructurePiece fillForwardOpening(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int leftRightOffset, int heightOffset, boolean inside) - Mappings:
Namespace Name Mixin selector official aLawn$m;a(Lawn$q;Ljava/util/List;Ljava/util/Random;IIZ)Lawx;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
protected StructurePiece fillNWOpening(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int heightOffset, int leftRightOffset, boolean inside) - Mappings:
Namespace Name Mixin selector official bLawn$m;b(Lawn$q;Ljava/util/List;Ljava/util/Random;IIZ)Lawx;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
protected StructurePiece fillSEOpening(NetherFortressPieces.StartPiece start, List<StructurePiece> pieces, Random random, int heightOffset, int leftRightOffset, boolean inside) - Mappings:
Namespace Name Mixin selector official cLawn$m;c(Lawn$q;Ljava/util/List;Ljava/util/Random;IIZ)Lawx;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 aLawn$m;a(Lawg;)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
-