@CatalogedBy(value=PopulatorObjects.class) public interface PopulatorObject extends CatalogType
Modifier and Type | Method and Description |
---|---|
boolean |
canPlaceAt(World world,
int x,
int y,
int z)
Returns whether this object can be placed into the world at the given
position.
|
void |
placeObject(World world,
Random random,
int x,
int y,
int z)
Places the object into the world at the given location.
|
getId, getName
boolean canPlaceAt(World world, int x, int y, int z)
world
- The worldx
- The X positiony
- The Y positionz
- The Z position