public static class ComponentScatteredFeaturePieces.JunglePyramid extends StructureComponent
StructureComponent.BlockSelector| Modifier and Type | Field and Description |
|---|---|
protected int |
horizontalPos |
protected int |
scatteredFeatureSizeX
The size of the bounding box for this feature in the X axis
|
protected int |
scatteredFeatureSizeY
The size of the bounding box for this feature in the Y axis
|
protected int |
scatteredFeatureSizeZ
The size of the bounding box for this feature in the Z axis
|
boundingBox, componentType| Constructor and Description |
|---|
JunglePyramid() |
JunglePyramid(java.util.Random rand,
int x,
int z) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addComponentParts(World worldIn,
java.util.Random randomIn,
StructureBoundingBox structureBoundingBoxIn)
second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes
Mineshafts at the end, it adds Fences...
|
protected boolean |
offsetToAverageGroundLevel(World worldIn,
StructureBoundingBox structurebb,
int yOffset)
Calculates and offsets this structure boundingbox to average ground level
|
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_)
(abstract) Helper method to read subclass data from NBT
|
protected void |
writeStructureToNBT(NBTTagCompound tagCompound)
(abstract) Helper method to write subclass data to NBT
|
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 scatteredFeatureSizeX
protected int scatteredFeatureSizeY
protected int scatteredFeatureSizeZ
protected int horizontalPos
public JunglePyramid()
public JunglePyramid(java.util.Random rand,
int x,
int z)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
protected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts in class StructureComponentprotected boolean offsetToAverageGroundLevel(World worldIn, StructureBoundingBox structurebb, int yOffset)