Example #1
0
 @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;
 }
Example #2
0
 @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;
 }
Example #3
0
 @Override
 protected Loadout getFinalLoadout() {
   return new Loadout()
       .addWoodSword()
       .addWoodPick()
       .addWoodAxe()
       .addWoodShovel()
       .setUseDefaultArmor(true)
       .setArmor(2, KitUtils.addSoulbound(new ItemStack(Material.CHAINMAIL_CHESTPLATE)));
 }