PlayerItem

public class PlayerItem

Constructors

Link copied to clipboard
public void PlayerItem(ItemStack itemStack, PlayerItem.EquipmentSlot equipmentSlot, Player player)
Stores an instance of the custom EliteMobs values of what a player is wearing.

Types

Link copied to clipboard
public enum EquipmentSlot

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public int damageUndeadLevel
Link copied to clipboard
Link copied to clipboard
public ItemStack itemStack
Link copied to clipboard
public int itemTier
Link copied to clipboard
Link copied to clipboard
public Player player
Link copied to clipboard
public int thornsLevel

Functions

Link copied to clipboard
public double getBlastProtection(ItemStack itemStack, boolean update)
Link copied to clipboard
public ArrayList<ElitePotionEffect> getContinuousPotionEffects(ItemStack itemStack, boolean update)
Link copied to clipboard
public double getCritChance(ItemStack itemStack, boolean update)
Link copied to clipboard
public int getDamageArthropodsLevel(ItemStack itemStack, boolean update)
Link copied to clipboard
public int getDamageUndeadLevel(ItemStack itemStack, boolean update)
Link copied to clipboard
public double getEliteDamage(ItemStack itemStack, boolean update)
Link copied to clipboard
public double getEliteDefense(ItemStack itemStack, boolean update)
Link copied to clipboard
public double getEliteEnchantmentDamage(ItemStack itemStack, boolean update)
Link copied to clipboard
public double getHunterChance(ItemStack itemStack, boolean update)
Link copied to clipboard
public double getLoudStrikesBonus(ItemStack itemStack, boolean update)
Link copied to clipboard
public ArrayList<ElitePotionEffect> getOnHitPotionEffects(ItemStack itemStack, boolean update)
Link copied to clipboard
public double getProtectionProjectile(ItemStack itemStack, boolean update)
Link copied to clipboard
public int getTier(ItemStack itemStack, boolean update)
Link copied to clipboard
public static double readLoudStrikesBonus(ItemStack item, EnchantmentDefinition.Slot slot, UUID actor)
The same per-item contribution is used for active gear and captured attack equipment.
Link copied to clipboard
public static int readWeaponTier(Player player, ItemStack item)
Detached launch-time level after the caller has checked equipment eligibility.