public static class ComponentScatteredFeaturePieces.SwampHut extends StructureComponent
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected int |
horizontalPos |
protected int |
scatteredFeatureSizeX |
protected int |
scatteredFeatureSizeY |
protected int |
scatteredFeatureSizeZ |
boundingBox, componentType
Constructor and Description |
---|
SwampHut() |
SwampHut(java.util.Random p_i2066_1_,
int p_i2066_2_,
int p_i2066_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(World worldIn,
java.util.Random randomIn,
StructureBoundingBox structureBoundingBoxIn) |
protected boolean |
offsetToAverageGroundLevel(World worldIn,
StructureBoundingBox structurebb,
int yOffset) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
buildComponent, clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithBlocksRandomly, fillWithRandomizedBlocks, findIntersecting, generateChest, getBlockStateFromPos, getBoundingBox, getBoundingBoxCenter, getComponentType, getCoordBaseMode, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, placeDoorCurrentPosition, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode
protected int scatteredFeatureSizeX
protected int scatteredFeatureSizeY
protected int scatteredFeatureSizeZ
protected int horizontalPos
public SwampHut()
public SwampHut(java.util.Random p_i2066_1_, int p_i2066_2_, int p_i2066_3_)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
protected void readStructureFromNBT(NBTTagCompound tagCompound)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent
protected boolean offsetToAverageGroundLevel(World worldIn, StructureBoundingBox structurebb, int yOffset)