public abstract class ScatteredStructurePiece extends StructurePiece
StructurePiece.BlockSelector| Modifier and Type | Field and Description |
|---|---|
protected int |
depth |
protected int |
height |
protected int |
hPos |
protected int |
width |
boundingBox, CAVE_AIR, componentType| Modifier | Constructor and Description |
|---|---|
protected |
ScatteredStructurePiece(IStructurePieceType structurePieceTypeIn,
CompoundNBT nbt) |
protected |
ScatteredStructurePiece(IStructurePieceType structurePieceTypeIn,
java.util.Random rand,
int xIn,
int yIn,
int zIn,
int widthIn,
int heightIn,
int depthIn) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isInsideBounds(IWorld worldIn,
MutableBoundingBox boundsIn,
int heightIn) |
protected void |
readAdditional(CompoundNBT tagCompound) |
buildComponent, correctFacing, create, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, writeprotected final int width
protected final int height
protected final int depth
protected int hPos
protected ScatteredStructurePiece(IStructurePieceType structurePieceTypeIn, java.util.Random rand, int xIn, int yIn, int zIn, int widthIn, int heightIn, int depthIn)
protected ScatteredStructurePiece(IStructurePieceType structurePieceTypeIn, CompoundNBT nbt)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional in class StructurePieceprotected boolean isInsideBounds(IWorld worldIn, MutableBoundingBox boundsIn, int heightIn)