public class ComponentNetherBridgeEnd extends StructureComponent
Modifier and Type | Field and Description |
---|---|
protected static WeightedRandomChestContent[] |
field_111019_a |
boundingBox, componentType, coordBaseMode
Constructor and Description |
---|
ComponentNetherBridgeEnd() |
ComponentNetherBridgeEnd(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...
|
protected void |
func_143011_b(NBTTagCompound par1NBTTagCompound) |
protected void |
func_143012_a(NBTTagCompound par1NBTTagCompound) |
static ComponentNetherBridgeEnd |
func_74971_a(java.util.List par0List,
java.util.Random par1Random,
int par2,
int par3,
int par4,
int par5,
int par6) |
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
|
buildComponent, 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 ComponentNetherBridgeEnd()
public ComponentNetherBridgeEnd(int par1, java.util.Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4)
public static ComponentNetherBridgeEnd func_74971_a(java.util.List par0List, java.util.Random par1Random, int par2, int par3, int par4, int par5, int par6)
protected void func_143011_b(NBTTagCompound par1NBTTagCompound)
protected void func_143012_a(NBTTagCompound par1NBTTagCompound)
public boolean addComponentParts(World par1World, java.util.Random par2Random, StructureBoundingBox par3StructureBoundingBox)
addComponentParts
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)