Exemple #1
0
 /**
  * Drops an item at the specified location
  *
  * @param x
  * @param y
  * @param z
  * @param itemId
  */
 public void dropItem(double x, double y, double z, int itemId) {
   dropItem(x, y, z, itemId, 1);
 }
Exemple #2
0
 /**
  * Drops an item with desired quantity at the specified location
  *
  * @param loc
  * @param itemId
  * @param quantity
  */
 public void dropItem(Location loc, int itemId, int quantity) {
   dropItem(loc.x, loc.y, loc.z, itemId, quantity);
 }
Exemple #3
0
 /**
  * Drops an item at the specified location
  *
  * @param loc
  * @param itemId
  */
 public void dropItem(Location loc, int itemId) {
   dropItem(loc.x, loc.y, loc.z, itemId, 1);
 }