Package net.minecraft.structure
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
- Mappings:
Namespace Name named net/minecraft/structure/NetherFortressGenerator$Pieceintermediary net/minecraft/class_3390$class_3403official elx$m
-
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
AIR, boundingBox, chainLength -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPiece(StructurePieceType type, int length, BlockBox boundingBox) Piece(StructurePieceType type, NbtCompound nbt) -
Method Summary
Modifier and TypeMethodDescriptionprivate intcheckRemainingPieces(List<NetherFortressGenerator.PieceData> possiblePieces) protected @Nullable StructurePiecefillForwardOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset, boolean inside) protected @Nullable StructurePiecefillNWOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) protected @Nullable StructurePiecefillSEOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) protected static booleanisInBounds(BlockBox boundingBox) private NetherFortressGenerator.PiecepickPiece(NetherFortressGenerator.Start start, List<NetherFortressGenerator.PieceData> possiblePieces, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private StructurePiecepieceGenerator(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside) protected voidwriteNbt(StructureContext context, NbtCompound nbt) Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, boundingBox, canAddBlock, canReplace, createBox, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, firstIntersecting, generate, getBlockAt, getBoundingBox, getCenter, getChainLength, getFacing, getMirror, getRandomHorizontalDirection, getRotation, getType, intersectsChunk, isUnderSeaLevel, offsetPos, orientateChest, setChainLength, setOrientation, toNbt, translate
-
Constructor Details
-
Piece
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/BlockBox;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3341;)Vofficial <init>Lejv;<init>(Leki;ILejj;)V
-
Piece
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)Vofficial <init>Lejv;<init>(Leki;Lub;)V
-
-
Method Details
-
writeNbt
- Specified by:
writeNbtin classStructurePiece- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)Vofficial aLejv;a(Lekh;Lub;)V
-
checkRemainingPieces
- Mappings:
Namespace Name Mixin selector named checkRemainingPiecesLnet/minecraft/structure/NetherFortressGenerator$Piece;checkRemainingPieces(Ljava/util/List;)Iintermediary method_14810Lnet/minecraft/class_3390$class_3403;method_14810(Ljava/util/List;)Iofficial aLelx$m;a(Ljava/util/List;)I
-
pickPiece
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 pickPieceLnet/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_14811Lnet/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 aLelx$m;a(Lelx$q;Ljava/util/List;Lejw;Layw;IIILji;I)Lelx$m;
-
pieceGenerator
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 pieceGeneratorLnet/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_14813Lnet/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 aLelx$m;a(Lelx$q;Lejw;Layw;IIILji;IZ)Lejv;
-
fillForwardOpening
@Nullable protected @Nullable StructurePiece fillForwardOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset, boolean inside) - Mappings:
Namespace Name Mixin selector named fillForwardOpeningLnet/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_14814Lnet/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 aLelx$m;a(Lelx$q;Lejw;Layw;IIZ)Lejv;
-
fillNWOpening
@Nullable protected @Nullable StructurePiece fillNWOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) - Mappings:
Namespace Name Mixin selector named fillNWOpeningLnet/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_14812Lnet/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 bLelx$m;b(Lelx$q;Lejw;Layw;IIZ)Lejv;
-
fillSEOpening
@Nullable protected @Nullable StructurePiece fillSEOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) - Mappings:
Namespace Name Mixin selector named fillSEOpeningLnet/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_14808Lnet/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 cLelx$m;c(Lelx$q;Lejw;Layw;IIZ)Lejv;
-
isInBounds
- Mappings:
Namespace Name Mixin selector named isInBoundsLnet/minecraft/structure/NetherFortressGenerator$Piece;isInBounds(Lnet/minecraft/util/math/BlockBox;)Zintermediary method_14809Lnet/minecraft/class_3390$class_3403;method_14809(Lnet/minecraft/class_3341;)Zofficial aLelx$m;a(Lejj;)Z
-