public static class StructureNetherBridgePieces.Corridor3 extends StructureComponent
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected static WeightedRandomChestContent[] |
field_111019_a |
boundingBox, componentType, coordBaseMode
Constructor and Description |
---|
StructureNetherBridgePieces.Corridor3() |
StructureNetherBridgePieces.Corridor3(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 StructureNetherBridgePieces.Corridor3 |
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(StructureNetherBridgePieces.Start 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(StructureNetherBridgePieces.Start 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(StructureNetherBridgePieces.Start 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, fillWithAir, fillWithBlocks, fillWithMetadataBlocks, fillWithRandomizedBlocks, findIntersecting, func_143009_a, func_143010_b, func_151547_a, func_151552_a, func_151553_a, func_151554_b, generateStructureChestContents, generateStructureDispenserContents, getBlockAtCurrentPosition, getBoundingBox, getComponentType, getMetadataWithOffset, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeBlockAtCurrentPosition, placeDoorAtCurrentPosition, randomlyFillWithBlocks
protected static final WeightedRandomChestContent[] field_111019_a
public StructureNetherBridgePieces.Corridor3()
public StructureNetherBridgePieces.Corridor3(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 StructureNetherBridgePieces.Corridor3 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(StructureNetherBridgePieces.Start par1ComponentNetherBridgeStartPiece, java.util.List par2List, java.util.Random par3Random, int par4, int par5, boolean par6)
protected StructureComponent getNextComponentX(StructureNetherBridgePieces.Start par1ComponentNetherBridgeStartPiece, java.util.List par2List, java.util.Random par3Random, int par4, int par5, boolean par6)
protected StructureComponent getNextComponentZ(StructureNetherBridgePieces.Start par1ComponentNetherBridgeStartPiece, java.util.List par2List, java.util.Random par3Random, int par4, int par5, boolean par6)
protected static boolean isAboveGround(StructureBoundingBox par0StructureBoundingBox)