public class ComponentMineshaftStairs extends StructureComponent
boundingBox, componentType, coordBaseMode
Constructor and Description |
---|
ComponentMineshaftStairs() |
ComponentMineshaftStairs(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 StructureBoundingBox |
findValidPlacement(java.util.List par0List,
java.util.Random par1Random,
int par2,
int par3,
int par4,
int par5)
Trys to find a valid place to put this component.
|
protected void |
func_143011_b(NBTTagCompound par1NBTTagCompound) |
protected void |
func_143012_a(NBTTagCompound par1NBTTagCompound) |
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
public ComponentMineshaftStairs()
public ComponentMineshaftStairs(int par1, java.util.Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4)
protected void func_143012_a(NBTTagCompound par1NBTTagCompound)
func_143012_a
in class StructureComponent
protected void func_143011_b(NBTTagCompound par1NBTTagCompound)
func_143011_b
in class StructureComponent
public static StructureBoundingBox findValidPlacement(java.util.List par0List, java.util.Random par1Random, int par2, int par3, int par4, int par5)
public void buildComponent(StructureComponent par1StructureComponent, java.util.List par2List, java.util.Random par3Random)
buildComponent
in class StructureComponent
public boolean addComponentParts(World par1World, java.util.Random par2Random, StructureBoundingBox par3StructureBoundingBox)
addComponentParts
in class StructureComponent