public static class StructureMineshaftPieces.Cross extends StructureComponent
StructureComponent.BlockSelector| Modifier and Type | Field and Description |
|---|---|
private EnumFacing |
corridorDirection |
private boolean |
isMultipleFloors |
boundingBox, componentType, coordBaseMode| Constructor and Description |
|---|
Cross() |
Cross(int type,
java.util.Random rand,
StructureBoundingBox structurebb,
EnumFacing facing) |
| 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...
|
void |
buildComponent(StructureComponent componentIn,
java.util.List<StructureComponent> listIn,
java.util.Random rand)
Initiates construction of the Structure Component picked, at the current Location of StructGen
|
static StructureBoundingBox |
func_175813_a(java.util.List<StructureComponent> listIn,
java.util.Random rand,
int x,
int y,
int z,
EnumFacing facing) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound)
(abstract) Helper method to read subclass data from NBT
|
protected void |
writeStructureToNBT(NBTTagCompound tagCompound)
(abstract) Helper method to write subclass data to NBT
|
clearCurrentPositionBlocksUpwards, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_175805_a, func_181138_a, generateChestContents, generateDispenserContents, getBlockStateFromPos, getBoundingBox, getBoundingBoxCenter, getComponentType, getMetadataWithOffset, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeDoorCurrentPosition, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockStateprivate EnumFacing corridorDirection
private boolean isMultipleFloors
public Cross()
public Cross(int type,
java.util.Random rand,
StructureBoundingBox structurebb,
EnumFacing facing)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
StructureComponentwriteStructureToNBT in class StructureComponentprotected void readStructureFromNBT(NBTTagCompound tagCompound)
StructureComponentreadStructureFromNBT in class StructureComponentpublic static StructureBoundingBox func_175813_a(java.util.List<StructureComponent> listIn, java.util.Random rand, int x, int y, int z, EnumFacing facing)
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
StructureComponentbuildComponent in class StructureComponentpublic boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
StructureComponentaddComponentParts in class StructureComponent