

But that dosnt make sense to me because theres got to be a way to do it.Stone anvils are created by right-clicking with a Hammer on the top of a Raw Igneous¹ Stone block, distinguishable by its decreased height. I've looked around and I saw that some people are saying its a problem with bukkit not fully implementing a set slot function for the result. The problem is that my result slot when I have those two items there doesn't get set. GetConfig().options().copyDefaults(true) GetServer().getConsoleSender().sendMessage(ChatColor.RED + "\n\n Disabled\n\n") GetServer().getPluginManager().registerEvents(new EventsClass(), this) GetServer().getConsoleSender().sendMessage(ChatColor.GREEN + "\n\n Enabled\n\n") GetCommand(commands.cmd1).setExecutor(commands) //Registers Command based on string its tied to Private Commands commands = new Commands() //Imports Commands class ItemMeta dust4Meta = dust4.getItemMeta() ĭtDisplayName(ChatColor.YELLOW + "" + ChatColor.BOLD + "Magic Dust") ĭust4Meta.addEnchant(Enchantment.DURABILITY, 4, true) ĭust4Lore.add(ChatColor.GRAY + "Tier: " + ChatColor.LIGHT_PURPLE + "Epic") ItemStack dust4 = new ItemStack(Material.GLOWSTONE_DUST) Public static void getT4(Player player) //Creates the dust item ItemMeta dust3Meta = dust3.getItemMeta() ĭtDisplayName(ChatColor.YELLOW + "" + ChatColor.BOLD + "Magic Dust") ĭust3Meta.addEnchant(Enchantment.DURABILITY, 3, true) ĭust3Lore.add(ChatColor.GRAY + "Tier: " + ChatColor.GOLD + "Rare") ItemStack dust3 = new ItemStack(Material.GLOWSTONE_DUST) Public static void getT3(Player player) //Creates the dust item ItemMeta dust2Meta = dust2.getItemMeta() ĭtDisplayName(ChatColor.YELLOW + "" + ChatColor.BOLD + "Magic Dust") ĭust2Meta.addEnchant(Enchantment.DURABILITY, 2, true) ĭust2Lore.add(ChatColor.GRAY + "Tier: " + ChatColor.GREEN + "Uncommon") ItemStack dust2 = new ItemStack(Material.GLOWSTONE_DUST) Public static void getT2(Player player) //Creates the dust item

ItemMeta dust1Meta = dust1.getItemMeta() ĭtDisplayName(ChatColor.YELLOW + "" + ChatColor.BOLD + "Magic Dust") ĭust1Meta.addEnchant(Enchantment.DURABILITY, 1, true) ĭust1Lore.add(ChatColor.GRAY + "Tier: " + ChatColor.AQUA + "Magical") ItemStack dust1 = new ItemStack(Material.GLOWSTONE_DUST) Public static void getT1(Player player) //Creates the dust item ItemStack dust = new ItemStack(Material.GLOWSTONE_DUST) ĭtDisplayName(ChatColor.YELLOW + "" + ChatColor.BOLD + "Magic Dust") ĭustLore.add(ChatColor.GRAY + "Tier: " + ChatColor.WHITE + "Common") Public static void getDefault(Player player) //Creates the dust item Public static ItemStack dust4 = new ItemStack(Material.GLOWSTONE_DUST) Public static ItemStack dust3 = new ItemStack(Material.GLOWSTONE_DUST) Public static ItemStack dust2 = new ItemStack(Material.GLOWSTONE_DUST) Public static ItemStack dust1 = new ItemStack(Material.GLOWSTONE_DUST) Public static ItemStack dust = new ItemStack(Material.GLOWSTONE_DUST) Result.getItemMeta().setDisplayName(resultName) ItemMeta resultMeta = result.getItemMeta() ItemStack result = new ItemStack(resultMat) List resultLore = secondSlot.getItemMeta().getLore() String resultName = firstSlot.getItemMeta().getDisplayName() Material resultMat = firstSlot.getType()

If (rawSlot = nvertSlot(rawSlot))//If inv is upper inv (Anvil inv) Public class EventsClass implements void onInventor圜lick(Inventor圜lickEvent e)ĪnvilInventory anvil = (AnvilInventory)inv
