public abstract class StructurePieceWithDimensions extends StructurePiece
StructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
protected int |
depth |
protected int |
height |
protected int |
hPos |
protected int |
width |
AIR, boundingBox, chainLength| Modifier | Constructor and Description |
|---|---|
protected |
StructurePieceWithDimensions(StructurePieceType type,
CompoundTag tag) |
protected |
StructurePieceWithDimensions(StructurePieceType type,
Random random,
int x,
int y,
int z,
int width,
int height,
int depth) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
method_14839(WorldAccess world,
BlockBox boundingBox,
int int2) |
protected void |
toNbt(CompoundTag tag) |
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, translateprotected final int width
protected final int height
protected final int depth
protected int hPos
protected StructurePieceWithDimensions(StructurePieceType type, Random random, int x, int y, int z, int width, int height, int depth)
protected StructurePieceWithDimensions(StructurePieceType type, CompoundTag tag)
protected void toNbt(CompoundTag tag)
toNbt in class StructurePieceprotected boolean method_14839(WorldAccess world, BlockBox boundingBox, int int2)