Tutorial by Examples

To create an explosion, the following method signatures may be used: boolean createExplosion(double x, double y, double z, float power); boolean createExplosion(double x, double y, double z, float power, boolean setFire); boolean createExplosion(double x, double y, double z, float power, ...
The following methods can be used to drop an Item somewhere in the world: Item dropItem(Location loc, ItemStack is); Item dropItemNaturally(Location loc, ItemStack is); dropItem means dropping an Item exactly at the location, returning an Item object. dropItemNaturally means dropping the Item ...
The following methods can be used to generate a tree naturally (as if it was grown from a sapling) into the world. boolean generateTree(Location loc, TreeType type); boolean generateTree(Location loc, TreeType type, BlockChangeDelegate delegate); Location is where you want the tree to spawn ...
There are some spawning rules in Worlds in Bukkit. They are: Animal Spawning Creature Spawning Amount of the above that can be spawned Animal Spawning Animal spawning can be split into the following categories: Water Animals Land Animals To get the amount of animals that can be...

Page 1 of 1