public static class StructureNetherBridgePieces.Throne extends StructureComponent
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected static java.util.List<WeightedRandomChestContent> |
field_111019_a |
boundingBox, componentType, coordBaseMode
Constructor and Description |
---|
Throne() |
Throne(int p_i45611_1_,
java.util.Random p_i45611_2_,
StructureBoundingBox p_i45611_3_,
EnumFacing p_i45611_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...
|
static StructureNetherBridgePieces.Throne |
func_175874_a(java.util.List<StructureComponent> p_175874_0_,
java.util.Random p_175874_1_,
int p_175874_2_,
int p_175874_3_,
int p_175874_4_,
int p_175874_5_,
EnumFacing p_175874_6_) |
protected StructureComponent |
getNextComponentNormal(StructureNetherBridgePieces.Start p_74963_1_,
java.util.List<StructureComponent> p_74963_2_,
java.util.Random p_74963_3_,
int p_74963_4_,
int p_74963_5_,
boolean p_74963_6_)
Gets the next component in any cardinal direction
|
protected StructureComponent |
getNextComponentX(StructureNetherBridgePieces.Start p_74961_1_,
java.util.List<StructureComponent> p_74961_2_,
java.util.Random p_74961_3_,
int p_74961_4_,
int p_74961_5_,
boolean p_74961_6_)
Gets the next component in the +/- X direction
|
protected StructureComponent |
getNextComponentZ(StructureNetherBridgePieces.Start p_74965_1_,
java.util.List<StructureComponent> p_74965_2_,
java.util.Random p_74965_3_,
int p_74965_4_,
int p_74965_5_,
boolean p_74965_6_)
Gets the next component in the +/- Z direction
|
protected static boolean |
isAboveGround(StructureBoundingBox p_74964_0_)
Checks if the bounding box's minY is > 10
|
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
|
buildComponent, 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
protected static final java.util.List<WeightedRandomChestContent> field_111019_a
public Throne()
public Throne(int p_i45611_1_, java.util.Random p_i45611_2_, StructureBoundingBox p_i45611_3_, EnumFacing p_i45611_4_)
protected void readStructureFromNBT(NBTTagCompound tagCompound)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
public static StructureNetherBridgePieces.Throne func_175874_a(java.util.List<StructureComponent> p_175874_0_, java.util.Random p_175874_1_, int p_175874_2_, int p_175874_3_, int p_175874_4_, int p_175874_5_, EnumFacing p_175874_6_)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent
protected StructureComponent getNextComponentNormal(StructureNetherBridgePieces.Start p_74963_1_, java.util.List<StructureComponent> p_74963_2_, java.util.Random p_74963_3_, int p_74963_4_, int p_74963_5_, boolean p_74963_6_)
protected StructureComponent getNextComponentX(StructureNetherBridgePieces.Start p_74961_1_, java.util.List<StructureComponent> p_74961_2_, java.util.Random p_74961_3_, int p_74961_4_, int p_74961_5_, boolean p_74961_6_)
protected StructureComponent getNextComponentZ(StructureNetherBridgePieces.Start p_74965_1_, java.util.List<StructureComponent> p_74965_2_, java.util.Random p_74965_3_, int p_74965_4_, int p_74965_5_, boolean p_74965_6_)
protected static boolean isAboveGround(StructureBoundingBox p_74964_0_)