abstract static class StrongholdGenerator.Piece extends StructurePiece
| Modifier and Type | Class and Description |
|---|---|
static class |
StrongholdGenerator.Piece.EntranceType |
StructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
protected StrongholdGenerator.Piece.EntranceType |
entryDoor |
AIR, boundingBox, length| Modifier | Constructor and Description |
|---|---|
|
Piece(StructurePieceType type,
CompoundTag tag) |
protected |
Piece(StructurePieceType type,
int length) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateEntrance(IWorld world,
Random random,
BlockBox boundingBox,
StrongholdGenerator.Piece.EntranceType type,
int x,
int y,
int z) |
protected StrongholdGenerator.Piece.EntranceType |
getRandomEntrance(Random random) |
protected StructurePiece |
method_14870(StrongholdGenerator.Start start,
List<StructurePiece> list,
Random random,
int int2,
int int3) |
protected static boolean |
method_14871(BlockBox blockBox) |
protected StructurePiece |
method_14873(StrongholdGenerator.Start start,
List<StructurePiece> list,
Random random,
int int2,
int int3) |
protected StructurePiece |
method_14874(StrongholdGenerator.Start start,
List<StructurePiece> list,
Random random,
int int2,
int int3) |
protected void |
toNbt(CompoundTag tag) |
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillWithOutline, fillWithOutline, fillWithOutlineUnderSealevel, generate, getBlockAt, getBoundingBox, getFacing, getLength, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isUnderSeaLevel, method_14916, method_14919, method_14936, method_14937, placeJigsaw, setOrientation, translateprotected StrongholdGenerator.Piece.EntranceType entryDoor
protected Piece(StructurePieceType type, int length)
public Piece(StructurePieceType type, CompoundTag tag)
protected void toNbt(CompoundTag tag)
toNbt in class StructurePieceprotected void generateEntrance(IWorld world, Random random, BlockBox boundingBox, StrongholdGenerator.Piece.EntranceType type, int x, int y, int z)
protected StrongholdGenerator.Piece.EntranceType getRandomEntrance(Random random)
@Nullable protected StructurePiece method_14874(StrongholdGenerator.Start start, List<StructurePiece> list, Random random, int int2, int int3)
@Nullable protected StructurePiece method_14870(StrongholdGenerator.Start start, List<StructurePiece> list, Random random, int int2, int int3)
@Nullable protected StructurePiece method_14873(StrongholdGenerator.Start start, List<StructurePiece> list, Random random, int int2, int int3)
protected static boolean method_14871(BlockBox blockBox)