Advertisement
Guest User

Method to set Navigations in a Teleporter Menu

a guest
Jul 28th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public static void SetNavigation(String name, Material itemid, int guiposition) {
  2.  
  3. ItemStack item = new ItemStack (itemid);
  4. ItemMeta itemMeta = item.getItemMeta();
  5. itemMeta.setDisplayName(name);
  6. itemMeta.setLore(null);
  7. item.setItemMeta(itemMeta);
  8.  
  9. LobbyItems.navigatorInventory.setItem(guiposition, item);
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement