abstract static class ComponentScatteredFeaturePieces.Feature extends StructureComponent
StructureComponent.BlockSelector| Modifier and Type | Field and Description |
|---|---|
protected int |
depth |
protected int |
height |
protected int |
horizontalPos |
protected int |
width |
boundingBox, componentType| Modifier | Constructor and Description |
|---|---|
|
Feature() |
protected |
Feature(java.util.Random rand,
int x,
int y,
int z,
int sizeX,
int sizeY,
int sizeZ) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
offsetToAverageGroundLevel(World worldIn,
StructureBoundingBox structurebb,
int yOffset) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
addComponentParts, buildComponent, clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, generateChest, generateChest, generateDoor, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseModeprotected int width
protected int height
protected int depth
protected int horizontalPos
public Feature()
protected Feature(java.util.Random rand,
int x,
int y,
int z,
int sizeX,
int sizeY,
int sizeZ)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT in class StructureComponentprotected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT in class StructureComponentprotected boolean offsetToAverageGroundLevel(World worldIn, StructureBoundingBox structurebb, int yOffset)