@Override protected ItemStack specialItem() { ItemStack leap = KitUtils.addSoulbound(new ItemStack(Material.FEATHER)); ItemMeta meta = leap.getItemMeta(); meta.setDisplayName(getSpecialItemName() + " " + ChatColor.GREEN + "READY"); leap.setItemMeta(meta); return leap; }
@Override protected boolean isSpecialItem(ItemStack stack) { if (stack != null && stack.hasItemMeta() && stack.getItemMeta().hasDisplayName()) { String name = stack.getItemMeta().getDisplayName(); if (name.contains(getSpecialItemName()) && KitUtils.isSoulbound(stack)) return true; } return false; }
@Override protected Loadout getFinalLoadout() { return new Loadout() .addWoodSword() .addWoodPick() .addWoodAxe() .addWoodShovel() .setUseDefaultArmor(true) .setArmor(2, KitUtils.addSoulbound(new ItemStack(Material.CHAINMAIL_CHESTPLATE))); }