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
abstract static class NetherFortressGenerator.Piece extends StructurePiece
- Mappings:
Namespace Name official cwv$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
Constructors Modifier Constructor Description protected
Piece(StructurePieceType type, int length)
Piece(StructurePieceType type, CompoundTag tag)
-
Method Summary
Modifier and Type Method Description private int
checkRemainingPieces(List<NetherFortressGenerator.PieceData> possiblePieces)
protected StructurePiece
fillForwardOpening(NetherFortressGenerator.Start start, List<StructurePiece> pieces, Random random, int leftRightOffset, int heightOffset, boolean inside)
protected StructurePiece
fillNWOpening(NetherFortressGenerator.Start start, List<StructurePiece> pieces, Random random, int heightOffset, int leftRightOffset, boolean inside)
protected StructurePiece
fillSEOpening(NetherFortressGenerator.Start start, List<StructurePiece> pieces, 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, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)
private StructurePiece
pieceGenerator(NetherFortressGenerator.Start start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength, boolean inside)
protected void
toNbt(CompoundTag tag)
Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, generate, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
-
Constructor Details
-
Piece
- Mappings:
Namespace Name Mixin selector official <init>
Lcxh;<init>(Lcqk;I)V
intermediary <init>
Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;I)V
named <init>
Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;I)V
-
Piece
- Mappings:
Namespace Name Mixin selector official <init>
Lcxh;<init>(Lcqk;Lmq;)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/CompoundTag;)V
-
-
Method Details
-
toNbt
- Specified by:
toNbt
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Lcxh;a(Lmq;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_2487;)V
named toNbt
Lnet/minecraft/structure/StructurePiece;toNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
checkRemainingPieces
- Mappings:
Namespace Name Mixin selector official a
Lcwv$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, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)- Mappings:
Namespace Name Mixin selector official a
Lcwv$m;a(Lcwv$q;Ljava/util/List;Ljava/util/List;Ljava/util/Random;IIILgc;I)Lcwv$m;
intermediary method_14811
Lnet/minecraft/class_3390$class_3403;method_14811(Lnet/minecraft/class_3390$class_3407;Ljava/util/List;Ljava/util/List;Ljava/util/Random;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;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;I)Lnet/minecraft/structure/NetherFortressGenerator$Piece;
-
pieceGenerator
private StructurePiece pieceGenerator(NetherFortressGenerator.Start 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 a
Lcwv$m;a(Lcwv$q;Ljava/util/List;Ljava/util/Random;IIILgc;IZ)Lcxh;
intermediary method_14813
Lnet/minecraft/class_3390$class_3403;method_14813(Lnet/minecraft/class_3390$class_3407;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/class_2350;IZ)Lnet/minecraft/class_3443;
named pieceGenerator
Lnet/minecraft/structure/NetherFortressGenerator$Piece;pieceGenerator(Lnet/minecraft/structure/NetherFortressGenerator$Start;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;IZ)Lnet/minecraft/structure/StructurePiece;
-
fillForwardOpening
@Nullable protected StructurePiece fillForwardOpening(NetherFortressGenerator.Start start, List<StructurePiece> pieces, Random random, int leftRightOffset, int heightOffset, boolean inside)- Mappings:
Namespace Name Mixin selector official a
Lcwv$m;a(Lcwv$q;Ljava/util/List;Ljava/util/Random;IIZ)Lcxh;
intermediary method_14814
Lnet/minecraft/class_3390$class_3403;method_14814(Lnet/minecraft/class_3390$class_3407;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/class_3443;
named fillForwardOpening
Lnet/minecraft/structure/NetherFortressGenerator$Piece;fillForwardOpening(Lnet/minecraft/structure/NetherFortressGenerator$Start;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
-
fillNWOpening
@Nullable protected StructurePiece fillNWOpening(NetherFortressGenerator.Start start, List<StructurePiece> pieces, Random random, int heightOffset, int leftRightOffset, boolean inside)- Mappings:
Namespace Name Mixin selector official b
Lcwv$m;b(Lcwv$q;Ljava/util/List;Ljava/util/Random;IIZ)Lcxh;
intermediary method_14812
Lnet/minecraft/class_3390$class_3403;method_14812(Lnet/minecraft/class_3390$class_3407;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/class_3443;
named fillNWOpening
Lnet/minecraft/structure/NetherFortressGenerator$Piece;fillNWOpening(Lnet/minecraft/structure/NetherFortressGenerator$Start;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
-
fillSEOpening
@Nullable protected StructurePiece fillSEOpening(NetherFortressGenerator.Start start, List<StructurePiece> pieces, Random random, int heightOffset, int leftRightOffset, boolean inside)- Mappings:
Namespace Name Mixin selector official c
Lcwv$m;c(Lcwv$q;Ljava/util/List;Ljava/util/Random;IIZ)Lcxh;
intermediary method_14808
Lnet/minecraft/class_3390$class_3403;method_14808(Lnet/minecraft/class_3390$class_3407;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/class_3443;
named fillSEOpening
Lnet/minecraft/structure/NetherFortressGenerator$Piece;fillSEOpening(Lnet/minecraft/structure/NetherFortressGenerator$Start;Ljava/util/List;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
-
isInBounds
- Mappings:
Namespace Name Mixin selector official a
Lcwv$m;a(Lcwn;)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
-