public class ComponentStrongholdLibrary extends StructureComponent
Modifier and Type | Field and Description |
---|---|
static WeightedRandomChestContent[] |
strongholdLibraryChestContents
List of items that Stronghold Library chests can contain.
|
Constructor and Description |
---|
ComponentStrongholdLibrary(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...
|
static ComponentStrongholdLibrary |
findValidPlacement(List par0List,
Random par1Random,
int par2,
int par3,
int par4,
int par5,
int par6) |
buildComponent, findIntersecting, getBoundingBox, getCenter, getComponentType
public static final WeightedRandomChestContent[] strongholdLibraryChestContents
public ComponentStrongholdLibrary(int par1, Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4)
public static ComponentStrongholdLibrary 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