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 official dxg$m
intermediary net/minecraft/class_3390$class_3403
named net/minecraft/structure/NetherFortressGenerator$Piece
-
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
ModifierConstructorDescriptionprotected
Piece
(StructurePieceType type, int length, BlockBox boundingBox) Piece
(StructurePieceType type, NbtCompound nbt) -
Method Summary
Modifier and TypeMethodDescriptionprivate int
checkRemainingPieces
(List<NetherFortressGenerator.PieceData> possiblePieces) protected @Nullable StructurePiece
fillForwardOpening
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset, boolean inside) protected @Nullable StructurePiece
fillNWOpening
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) protected @Nullable StructurePiece
fillSEOpening
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) protected static boolean
isInBounds
(BlockBox boundingBox) 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) private StructurePiece
pieceGenerator
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside) protected void
writeNbt
(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 official <init>
Ldvm;<init>(Ldvz;ILdva;)V
intermediary <init>
Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3341;)V
named <init>
Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/BlockBox;)V
-
Piece
- Mappings:
Namespace Name Mixin selector official <init>
Ldvm;<init>(Ldvz;Lqw;)V
intermediary <init>
Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
writeNbt
- Specified by:
writeNbt
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldvm;a(Ldvy;Lqw;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
-
checkRemainingPieces
- Mappings:
Namespace Name Mixin selector official a
Ldxg$m;a(Ljava/util/List;)I
intermediary method_14810
Lnet/minecraft/class_3390$class_3403;method_14810(Ljava/util/List;)I
named checkRemainingPieces
Lnet/minecraft/structure/NetherFortressGenerator$Piece;checkRemainingPieces(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 official a
Ldxg$m;a(Ldxg$q;Ljava/util/List;Ldvn;Lasc;IIILha;I)Ldxg$m;
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;
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;
-
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 official a
Ldxg$m;a(Ldxg$q;Ldvn;Lasc;IIILha;IZ)Ldvm;
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;
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;
-
fillForwardOpening
@Nullable protected @Nullable StructurePiece fillForwardOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset, boolean inside) - Mappings:
Namespace Name Mixin selector official a
Ldxg$m;a(Ldxg$q;Ldvn;Lasc;IIZ)Ldvm;
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;
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;
-
fillNWOpening
@Nullable protected @Nullable StructurePiece fillNWOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) - Mappings:
Namespace Name Mixin selector official b
Ldxg$m;b(Ldxg$q;Ldvn;Lasc;IIZ)Ldvm;
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;
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;
-
fillSEOpening
@Nullable protected @Nullable StructurePiece fillSEOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) - Mappings:
Namespace Name Mixin selector official c
Ldxg$m;c(Ldxg$q;Ldvn;Lasc;IIZ)Ldvm;
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;
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;
-
isInBounds
- Mappings:
Namespace Name Mixin selector official a
Ldxg$m;a(Ldva;)Z
intermediary method_14809
Lnet/minecraft/class_3390$class_3403;method_14809(Lnet/minecraft/class_3341;)Z
named isInBounds
Lnet/minecraft/structure/NetherFortressGenerator$Piece;isInBounds(Lnet/minecraft/util/math/BlockBox;)Z
-