类 NetherFortressGenerator.Piece
- java.lang.Object
-
- net.minecraft.structure.StructurePiece
-
- net.minecraft.structure.NetherFortressGenerator.Piece
-
- 直接已知子类:
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
abstract static class NetherFortressGenerator.Piece extends StructurePiece
- Mappings:
Namespace Name official czz$mintermediary net/minecraft/class_3390$class_3403named net/minecraft/structure/NetherFortressGenerator$Piece
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
-
字段概要
-
从类继承的字段 net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
-
构造器概要
构造器 限定符 构造器 说明 protectedPiece(StructurePieceType type, int length, BlockBox blockBox)Piece(StructurePieceType type, CompoundTag nbt)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 private intcheckRemainingPieces(List<NetherFortressGenerator.PieceData> possiblePieces)protected @Nullable StructurePiecefillForwardOpening(NetherFortressGenerator.Start start, class_6130 class_6130, Random random, int leftRightOffset, int heightOffset, boolean inside)protected @Nullable StructurePiecefillNWOpening(NetherFortressGenerator.Start start, class_6130 class_6130, Random random, int heightOffset, int leftRightOffset, boolean inside)protected @Nullable StructurePiecefillSEOpening(NetherFortressGenerator.Start start, class_6130 class_6130, Random random, int heightOffset, int leftRightOffset, boolean inside)protected static booleanisInBounds(BlockBox boundingBox)private NetherFortressGenerator.PiecepickPiece(NetherFortressGenerator.Start start, List<NetherFortressGenerator.PieceData> possiblePieces, class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)private StructurePiecepieceGenerator(NetherFortressGenerator.Start start, class_6130 class_6130, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside)protected voidwriteNbt(ServerWorld world, CompoundTag nbt)-
从类继承的方法 net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, canAddBlock, canReplace, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, generate, getBlockAt, getBoundingBox, getChainLength, getFacing, getRotation, getType, intersectsChunk, isUnderSeaLevel, method_33882, method_35454, method_35455, method_35456, method_35457, method_35458, method_35460, offsetPos, orientateChest, setOrientation, toNbt, translate
-
-
-
-
构造器详细资料
-
Piece
protected Piece(StructurePieceType type, int length, BlockBox blockBox)
- Mappings:
Namespace Name Mixin selector official <init>Ldam;<init>(Lcsy;ILczr;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3341;)Vnamed <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/BlockBox;)V
-
Piece
public Piece(StructurePieceType type, CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official <init>Ldam;<init>(Lcsy;Lmv;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/CompoundTag;)V
-
-
方法详细资料
-
writeNbt
protected void writeNbt(ServerWorld world, CompoundTag nbt)
- 指定者:
writeNbt在类中StructurePiece- Mappings:
Namespace Name Mixin selector official aLdam;a(Labj;Lmv;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/CompoundTag;)V
-
checkRemainingPieces
private int checkRemainingPieces(List<NetherFortressGenerator.PieceData> possiblePieces)
- Mappings:
Namespace Name Mixin selector official aLczz$m;a(Ljava/util/List;)Iintermediary method_14810Lnet/minecraft/class_3390$class_3403;method_14810(Ljava/util/List;)Inamed checkRemainingPiecesLnet/minecraft/structure/NetherFortressGenerator$Piece;checkRemainingPieces(Ljava/util/List;)I
-
pickPiece
private NetherFortressGenerator.Piece pickPiece(NetherFortressGenerator.Start start, List<NetherFortressGenerator.PieceData> possiblePieces, class_6130 class_6130, Random random, int x, int y, int z, Direction orientation, int chainLength)
- Mappings:
Namespace Name Mixin selector official aLczz$m;a(Lczz$q;Ljava/util/List;Ldan;Ljava/util/Random;IIILgg;I)Lczz$m;intermediary method_14811Lnet/minecraft/class_3390$class_3403;method_14811(Lnet/minecraft/class_3390$class_3407;Ljava/util/List;Lnet/minecraft/class_6130;Ljava/util/Random;IIILnet/minecraft/class_2350;I)Lnet/minecraft/class_3390$class_3403;named pickPieceLnet/minecraft/structure/NetherFortressGenerator$Piece;pickPiece(Lnet/minecraft/structure/NetherFortressGenerator$Start;Ljava/util/List;Lnet/minecraft/class_6130;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;I)Lnet/minecraft/structure/NetherFortressGenerator$Piece;
-
pieceGenerator
private StructurePiece pieceGenerator(NetherFortressGenerator.Start start, class_6130 class_6130, Random random, int x, int y, int z, @Nullable @Nullable Direction orientation, int chainLength, boolean inside)
- Mappings:
Namespace Name Mixin selector official aLczz$m;a(Lczz$q;Ldan;Ljava/util/Random;IIILgg;IZ)Ldam;intermediary method_14813Lnet/minecraft/class_3390$class_3403;method_14813(Lnet/minecraft/class_3390$class_3407;Lnet/minecraft/class_6130;Ljava/util/Random;IIILnet/minecraft/class_2350;IZ)Lnet/minecraft/class_3443;named pieceGeneratorLnet/minecraft/structure/NetherFortressGenerator$Piece;pieceGenerator(Lnet/minecraft/structure/NetherFortressGenerator$Start;Lnet/minecraft/class_6130;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;IZ)Lnet/minecraft/structure/StructurePiece;
-
fillForwardOpening
@Nullable protected @Nullable StructurePiece fillForwardOpening(NetherFortressGenerator.Start start, class_6130 class_6130, Random random, int leftRightOffset, int heightOffset, boolean inside)
- Mappings:
Namespace Name Mixin selector official aLczz$m;a(Lczz$q;Ldan;Ljava/util/Random;IIZ)Ldam;intermediary method_14814Lnet/minecraft/class_3390$class_3403;method_14814(Lnet/minecraft/class_3390$class_3407;Lnet/minecraft/class_6130;Ljava/util/Random;IIZ)Lnet/minecraft/class_3443;named fillForwardOpeningLnet/minecraft/structure/NetherFortressGenerator$Piece;fillForwardOpening(Lnet/minecraft/structure/NetherFortressGenerator$Start;Lnet/minecraft/class_6130;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
-
fillNWOpening
@Nullable protected @Nullable StructurePiece fillNWOpening(NetherFortressGenerator.Start start, class_6130 class_6130, Random random, int heightOffset, int leftRightOffset, boolean inside)
- Mappings:
Namespace Name Mixin selector official bLczz$m;b(Lczz$q;Ldan;Ljava/util/Random;IIZ)Ldam;intermediary method_14812Lnet/minecraft/class_3390$class_3403;method_14812(Lnet/minecraft/class_3390$class_3407;Lnet/minecraft/class_6130;Ljava/util/Random;IIZ)Lnet/minecraft/class_3443;named fillNWOpeningLnet/minecraft/structure/NetherFortressGenerator$Piece;fillNWOpening(Lnet/minecraft/structure/NetherFortressGenerator$Start;Lnet/minecraft/class_6130;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
-
fillSEOpening
@Nullable protected @Nullable StructurePiece fillSEOpening(NetherFortressGenerator.Start start, class_6130 class_6130, Random random, int heightOffset, int leftRightOffset, boolean inside)
- Mappings:
Namespace Name Mixin selector official cLczz$m;c(Lczz$q;Ldan;Ljava/util/Random;IIZ)Ldam;intermediary method_14808Lnet/minecraft/class_3390$class_3403;method_14808(Lnet/minecraft/class_3390$class_3407;Lnet/minecraft/class_6130;Ljava/util/Random;IIZ)Lnet/minecraft/class_3443;named fillSEOpeningLnet/minecraft/structure/NetherFortressGenerator$Piece;fillSEOpening(Lnet/minecraft/structure/NetherFortressGenerator$Start;Lnet/minecraft/class_6130;Ljava/util/Random;IIZ)Lnet/minecraft/structure/StructurePiece;
-
isInBounds
protected static boolean isInBounds(BlockBox boundingBox)
- Mappings:
Namespace Name Mixin selector official aLczz$m;a(Lczr;)Zintermediary method_14809Lnet/minecraft/class_3390$class_3403;method_14809(Lnet/minecraft/class_3341;)Znamed isInBoundsLnet/minecraft/structure/NetherFortressGenerator$Piece;isInBounds(Lnet/minecraft/util/math/BlockBox;)Z
-
-