public static class StructureNetherBridgePieces.Crossing3 extends StructureComponent
StructureComponent.BlockSelector| Modifier and Type | Field and Description |
|---|---|
protected static java.util.List<WeightedRandomChestContent> |
field_111019_a |
boundingBox, componentType, coordBaseMode| Modifier | Constructor and Description |
|---|---|
|
Crossing3() |
|
Crossing3(int p_i45622_1_,
java.util.Random p_i45622_2_,
StructureBoundingBox p_i45622_3_,
EnumFacing p_i45622_4_) |
protected |
Crossing3(java.util.Random p_i2042_1_,
int p_i2042_2_,
int p_i2042_3_) |
| 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.Crossing3 |
func_175885_a(java.util.List<StructureComponent> p_175885_0_,
java.util.Random p_175885_1_,
int p_175885_2_,
int p_175885_3_,
int p_175885_4_,
EnumFacing p_175885_5_,
int p_175885_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, setBlockStateprotected static final java.util.List<WeightedRandomChestContent> field_111019_a
public Crossing3()
public Crossing3(int p_i45622_1_,
java.util.Random p_i45622_2_,
StructureBoundingBox p_i45622_3_,
EnumFacing p_i45622_4_)
protected Crossing3(java.util.Random p_i2042_1_,
int p_i2042_2_,
int p_i2042_3_)
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
buildComponent in class StructureComponentpublic static StructureNetherBridgePieces.Crossing3 func_175885_a(java.util.List<StructureComponent> p_175885_0_, java.util.Random p_175885_1_, int p_175885_2_, int p_175885_3_, int p_175885_4_, EnumFacing p_175885_5_, int p_175885_6_)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts in class StructureComponentprotected void readStructureFromNBT(NBTTagCompound tagCompound)
readStructureFromNBT in class StructureComponentprotected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT in class StructureComponentprotected 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_)