public static class StructureNetherBridgePieces.Corridor extends StructureNetherBridgePieces.Piece
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
private boolean |
field_111021_b |
field_111019_a
boundingBox, componentType, coordBaseMode
Constructor and Description |
---|
Corridor() |
Corridor(int p_i45615_1_,
java.util.Random p_i45615_2_,
StructureBoundingBox p_i45615_3_,
EnumFacing p_i45615_4_) |
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 StructureNetherBridgePieces.Corridor |
func_175879_a(java.util.List<StructureComponent> p_175879_0_,
java.util.Random p_175879_1_,
int p_175879_2_,
int p_175879_3_,
int p_175879_4_,
EnumFacing p_175879_5_,
int p_175879_6_) |
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
|
getNextComponentNormal, getNextComponentX, getNextComponentZ, isAboveGround
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, setBlockState
public Corridor()
public Corridor(int p_i45615_1_, java.util.Random p_i45615_2_, StructureBoundingBox p_i45615_3_, EnumFacing p_i45615_4_)
protected void readStructureFromNBT(NBTTagCompound tagCompound)
StructureComponent
readStructureFromNBT
in class StructureNetherBridgePieces.Piece
protected void writeStructureToNBT(NBTTagCompound tagCompound)
StructureComponent
writeStructureToNBT
in class StructureNetherBridgePieces.Piece
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
StructureComponent
buildComponent
in class StructureComponent
public static StructureNetherBridgePieces.Corridor func_175879_a(java.util.List<StructureComponent> p_175879_0_, java.util.Random p_175879_1_, int p_175879_2_, int p_175879_3_, int p_175879_4_, EnumFacing p_175879_5_, int p_175879_6_)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
StructureComponent
addComponentParts
in class StructureComponent