public static class StructureMineshaftPieces.Cross extends StructureMineshaftPieces.Peice
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
private EnumFacing |
corridorDirection |
private boolean |
isMultipleFloors |
mineShaftType
boundingBox, componentType
Constructor and Description |
---|
Cross() |
Cross(int p_i47139_1_,
java.util.Random p_i47139_2_,
StructureBoundingBox p_i47139_3_,
EnumFacing p_i47139_4_,
MapGenMineshaft.Type p_i47139_5_) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(World worldIn,
java.util.Random randomIn,
StructureBoundingBox structureBoundingBoxIn) |
void |
buildComponent(StructureComponent componentIn,
java.util.List<StructureComponent> listIn,
java.util.Random rand) |
static StructureBoundingBox |
findCrossing(java.util.List<StructureComponent> listIn,
java.util.Random rand,
int x,
int y,
int z,
EnumFacing facing) |
private void |
placeSupportPillar(World p_189923_1_,
StructureBoundingBox p_189923_2_,
int p_189923_3_,
int p_189923_4_,
int p_189923_5_,
int p_189923_6_) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
getFenceBlock, getPlanksBlock, isSupportingBox
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, setCoordBaseMode
private EnumFacing corridorDirection
private boolean isMultipleFloors
public Cross()
public Cross(int p_i47139_1_, java.util.Random p_i47139_2_, StructureBoundingBox p_i47139_3_, @Nullable EnumFacing p_i47139_4_, MapGenMineshaft.Type p_i47139_5_)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructureMineshaftPieces.Peice
protected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT
in class StructureMineshaftPieces.Peice
public static StructureBoundingBox findCrossing(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)
buildComponent
in class StructureComponent
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent
private void placeSupportPillar(World p_189923_1_, StructureBoundingBox p_189923_2_, int p_189923_3_, int p_189923_4_, int p_189923_5_, int p_189923_6_)