Umm how do I make this drop exp? else if ((event.getBlock().getType().equals(Material.DIAMOND_ORE))) { event.getBlock().setType(Material.AIR); event.getBlock().getWorld().dropItemNaturally(event.getBlock().getLocation(), new ItemStack(Material.DIAMOND,4));
PHP: Player p;//Change this to your player. Location loc = p.getLocation();World w = p.getWorld(); w.spawn(loc, ExperienceOrb.class);