public class ComponentStrongholdChestCorridor extends StructureComponent
| Modifier and Type | Field and Description |
|---|---|
static WeightedRandomChestContent[] |
strongholdChestContents
List of items that Stronghold chests can contain.
|
| Constructor and Description |
|---|
ComponentStrongholdChestCorridor() |
ComponentStrongholdChestCorridor(int par1,
Random par2Random,
StructureBoundingBox par3StructureBoundingBox,
int par4) |
| Modifier and Type | Method and Description |
|---|---|
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 ComponentStrongholdChestCorridor |
findValidPlacement(List par0List,
Random par1Random,
int par2,
int par3,
int par4,
int par5,
int par6) |
findIntersecting, func_143009_a, func_143010_b, getBoundingBox, getCenter, getComponentTypepublic static final WeightedRandomChestContent[] strongholdChestContents
public ComponentStrongholdChestCorridor()
public ComponentStrongholdChestCorridor(int par1,
Random par2Random,
StructureBoundingBox par3StructureBoundingBox,
int par4)
public void buildComponent(StructureComponent par1StructureComponent, List par2List, Random par3Random)
buildComponent in class StructureComponentpublic static ComponentStrongholdChestCorridor findValidPlacement(List par0List, Random par1Random, int par2, int par3, int par4, int par5, int par6)
public boolean addComponentParts(World par1World, Random par2Random, StructureBoundingBox par3StructureBoundingBox)
addComponentParts in class StructureComponent