net.minecraft.world.gen.structure
Class ComponentMineshaftStairs
java.lang.Object
net.minecraft.world.gen.structure.StructureComponent
net.minecraft.world.gen.structure.ComponentMineshaftStairs
public class ComponentMineshaftStairs
- extends StructureComponent
Method Summary |
boolean |
addComponentParts(World par1World,
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,
List par2List,
Random par3Random)
Initiates construction of the Structure Component picked, at the current Location of StructGen |
static StructureBoundingBox |
findValidPlacement(List par0List,
Random par1Random,
int par2,
int par3,
int par4,
int par5)
Trys to find a valid place to put this component. |
ComponentMineshaftStairs
public ComponentMineshaftStairs(int par1,
Random par2Random,
StructureBoundingBox par3StructureBoundingBox,
int par4)
findValidPlacement
public static StructureBoundingBox findValidPlacement(List par0List,
Random par1Random,
int par2,
int par3,
int par4,
int par5)
- Trys to find a valid place to put this component.
buildComponent
public void buildComponent(StructureComponent par1StructureComponent,
List par2List,
Random par3Random)
- Initiates construction of the Structure Component picked, at the current Location of StructGen
- Overrides:
buildComponent
in class StructureComponent
addComponentParts
public boolean addComponentParts(World par1World,
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...
- Specified by:
addComponentParts
in class StructureComponent