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 bwr$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, field_19406 -
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_3998 class_3998) 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
applyXTransform, applyYTransform, applyZTransform, fillOpenings, getBoundingBox, getChainLength, getOverlappingPiece, method_11851, method_11852, method_11853, method_11854, method_13377, method_13775, method_17651, method_17652, method_17653, method_17654, method_17655, method_17656, method_17657, method_5527, method_56, method_58, method_60, method_65, method_72, method_73, method_9273, toNbt, translate
-
Constructor Details
-
AbstractPiece
public AbstractPiece() -
AbstractPiece
protected AbstractPiece(int chainLength) - Mappings:
Namespace Name Mixin selector official <init>Lbxb;<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 aLbxb;a(Lgy;Lbxm;)Vintermediary method_5530Lnet/minecraft/class_34;method_5530(Lnet/minecraft/class_322;Lnet/minecraft/class_3998;)Vnamed method_5530Lnet/minecraft/structure/StructurePiece;method_5530(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/class_3998;)V
-
serialize
- Specified by:
serializein classStructurePiece- Mappings:
Namespace Name Mixin selector official aLbxb;a(Lgy;)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 aLbwr$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 aLbwr$m;a(Lbwr$q;Ljava/util/List;Ljava/util/List;Ljava/util/Random;IIILeq;I)Lbwr$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 aLbwr$m;a(Lbwr$q;Ljava/util/List;Ljava/util/Random;IIILeq;IZ)Lbxb;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 aLbwr$m;a(Lbwr$q;Ljava/util/List;Ljava/util/Random;IIZ)Lbxb;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 bLbwr$m;b(Lbwr$q;Ljava/util/List;Ljava/util/Random;IIZ)Lbxb;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 cLbwr$m;c(Lbwr$q;Ljava/util/List;Ljava/util/Random;IIZ)Lbxb;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 aLbwr$m;a(Lbwf;)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
-