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 |
---|---|
|
ScatteredStructurePiece() |
protected |
ScatteredStructurePiece(java.util.Random random,
int x,
int y,
int z,
int widthIn,
int heightIn,
int p_i48655_7_) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
func_202580_a(IWorld p_202580_1_,
MutableBoundingBox p_202580_2_,
int p_202580_3_) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
addComponentParts, buildComponent, clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_197528_a, generateChest, generateChest, generateDoor, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode
protected int width
protected int height
protected int depth
protected int hPos
public ScatteredStructurePiece()
protected ScatteredStructurePiece(java.util.Random random, int x, int y, int z, int widthIn, int heightIn, int p_i48655_7_)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructurePiece
protected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT
in class StructurePiece
protected boolean func_202580_a(IWorld p_202580_1_, MutableBoundingBox p_202580_2_, int p_202580_3_)