public static class StructureNetherBridgePieces.Entrance 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 |
---|
Entrance() |
Entrance(int p_i45617_1_,
java.util.Random p_i45617_2_,
StructureBoundingBox p_i45617_3_,
EnumFacing p_i45617_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.Entrance |
func_175881_a(java.util.List<StructureComponent> p_175881_0_,
java.util.Random p_175881_1_,
int p_175881_2_,
int p_175881_3_,
int p_175881_4_,
EnumFacing p_175881_5_,
int p_175881_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
|
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 Entrance()
public Entrance(int p_i45617_1_, java.util.Random p_i45617_2_, StructureBoundingBox p_i45617_3_, EnumFacing p_i45617_4_)
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
buildComponent
in class StructureComponent
public static StructureNetherBridgePieces.Entrance func_175881_a(java.util.List<StructureComponent> p_175881_0_, java.util.Random p_175881_1_, int p_175881_2_, int p_175881_3_, int p_175881_4_, EnumFacing p_175881_5_, int p_175881_6_)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent
protected void readStructureFromNBT(NBTTagCompound tagCompound)
readStructureFromNBT
in class StructureComponent
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
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_)