예제 #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);
 }
예제 #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);
 }
예제 #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);
 }