public ItemAPI(String displayname, String skullOwner, int amount) { this.itemStack = new ItemStack(Material.SKULL_ITEM, 1, (short)3); this.skullMeta = ((SkullMeta)this.itemStack.getItemMeta()); this.skullMeta.setDisplayName(displayname); this.skullMeta.setOwner(skullOwner); } ItemStack itemStack; SkullMeta skullMeta;