/** * Check if player has a full set of * a custom armor set. * * @param player * @return */ publicboolean hasFullSet
(Player player
);
/** * Check if the item has the id of a * set piece. * @param item * @return */ publicboolean isArmorPiece
(ItemStack item
);
/** * Get the name of the set the armor piece * belongs to * @param item * @return */ publicString getSetName
(ItemStack item
);
/** * Check if the item has an effect * Mostly for weapons. * @param item * @param effect * @return */ publicboolean hasEffect
(ItemStack item,
String effect
);
/** * Check if the set the player is wearing contains * the effect that you are looking for. * @param player * @param effect * @return */ publicboolean hasEffect
(Player player,
String effect
);
/** * Get the 2nd argument given in the sets.yml * Damage:1.05 what will be returned is the number 1.05 * @param player * @param effect * @return */ publicdouble getValue
(Player player,
String effect
);
/** * Get the 2nd argument given in the set.yml * for a weapon * @param player * @param effect * @return */ publicdouble getValueWeapon
(@NonNull Player player, @NonNull
String effect
);
/** * Get an armor upgrade item * @param set * @param percentage * @return */ public ItemStack getUpgrade
(String set,
int percentage
);
/** * Get a crate item * @param crateName * @return */ public ItemStack getCrate
(String crateName
); }