Package org.bukkit.entity

Examples of org.bukkit.entity.Item.teleport()


          int   y   = 0;
          int   z  = shop.getSpawnLocation().getBlockZ();
          World  w  = shop.getSpawnLocation().getWorld();
         
          // teleport (fixed some client sided issues)
          item.teleport(new Location(w, x, y, z));
         
          // set invisible
          shop.setVisible(false);
         
          // remove item
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.