public class ComponentNetherBridgeCrossing extends StructureComponent
Modifier and Type | Field and Description |
---|---|
protected static WeightedRandomChestContent[] |
field_111019_a |
boundingBox, componentType, coordBaseMode
Constructor and Description |
---|
ComponentNetherBridgeCrossing() |
ComponentNetherBridgeCrossing(int par1,
java.util.Random par2Random,
StructureBoundingBox par3StructureBoundingBox,
int par4) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(World par1World,
java.util.Random par2Random,
StructureBoundingBox par3StructureBoundingBox)
second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes Mineshafts at
the end, it adds Fences...
|
void |
buildComponent(StructureComponent par1StructureComponent,
java.util.List par2List,
java.util.Random par3Random)
Initiates construction of the Structure Component picked, at the current Location of StructGen
|
static ComponentNetherBridgeCrossing |
createValidComponent(java.util.List par0List,
java.util.Random par1Random,
int par2,
int par3,
int par4,
int par5,
int par6)
Creates and returns a new component piece.
|
protected void |
func_143011_b(NBTTagCompound par1NBTTagCompound) |
protected void |
func_143012_a(NBTTagCompound par1NBTTagCompound) |
protected StructureComponent |
getNextComponentNormal(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece,
java.util.List par2List,
java.util.Random par3Random,
int par4,
int par5,
boolean par6)
Gets the next component in any cardinal direction
|
protected StructureComponent |
getNextComponentX(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece,
java.util.List par2List,
java.util.Random par3Random,
int par4,
int par5,
boolean par6)
Gets the next component in the +/- X direction
|
protected StructureComponent |
getNextComponentZ(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece,
java.util.List par2List,
java.util.Random par3Random,
int par4,
int par5,
boolean par6)
Gets the next component in the +/- Z direction
|
protected static boolean |
isAboveGround(StructureBoundingBox par0StructureBoundingBox)
Checks if the bounding box's minY is > 10
|
clearCurrentPositionBlocksUpwards, fillCurrentPositionBlocksDownwards, fillWithAir, fillWithBlocks, fillWithMetadataBlocks, fillWithRandomizedBlocks, findIntersecting, func_143009_a, func_143010_b, generateStructureChestContents, generateStructureDispenserContents, getBlockIdAtCurrentPosition, getBoundingBox, getCenter, getComponentType, getMetadataWithOffset, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeBlockAtCurrentPosition, placeDoorAtCurrentPosition, randomlyFillWithBlocks, randomlyPlaceBlock, randomlyRareFillWithBlocks
protected static final WeightedRandomChestContent[] field_111019_a
public ComponentNetherBridgeCrossing()
public ComponentNetherBridgeCrossing(int par1, java.util.Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4)
public void buildComponent(StructureComponent par1StructureComponent, java.util.List par2List, java.util.Random par3Random)
buildComponent
in class StructureComponent
public static ComponentNetherBridgeCrossing createValidComponent(java.util.List par0List, java.util.Random par1Random, int par2, int par3, int par4, int par5, int par6)
public boolean addComponentParts(World par1World, java.util.Random par2Random, StructureBoundingBox par3StructureBoundingBox)
addComponentParts
in class StructureComponent
protected void func_143011_b(NBTTagCompound par1NBTTagCompound)
func_143011_b
in class StructureComponent
protected void func_143012_a(NBTTagCompound par1NBTTagCompound)
func_143012_a
in class StructureComponent
protected StructureComponent getNextComponentNormal(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, java.util.List par2List, java.util.Random par3Random, int par4, int par5, boolean par6)
protected StructureComponent getNextComponentX(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, java.util.List par2List, java.util.Random par3Random, int par4, int par5, boolean par6)
protected StructureComponent getNextComponentZ(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, java.util.List par2List, java.util.Random par3Random, int par4, int par5, boolean par6)
protected static boolean isAboveGround(StructureBoundingBox par0StructureBoundingBox)