Enum Class AccessoryItem.EffectType

java.lang.Object
java.lang.Enum<AccessoryItem.EffectType>
tech.anonymoushacker1279.immersiveweapons.item.AccessoryItem.EffectType
All Implemented Interfaces:
Serializable, Comparable<AccessoryItem.EffectType>, Constable
Enclosing class:
AccessoryItem

public static enum AccessoryItem.EffectType extends Enum<AccessoryItem.EffectType>
An enum of accessory effects.
  • Enum Constant Details

    • FIREARM_AMMO_CONSERVATION_CHANCE

      public static final AccessoryItem.EffectType FIREARM_AMMO_CONSERVATION_CHANCE
      Chance for firearms to not consume ammo.
    • FIREARM_RELOAD_SPEED

      public static final AccessoryItem.EffectType FIREARM_RELOAD_SPEED
      Modifier for reload time for firearms.
    • MELEE_DAMAGE

      public static final AccessoryItem.EffectType MELEE_DAMAGE
      Modifier for melee damage.
    • PROJECTILE_DAMAGE

      public static final AccessoryItem.EffectType PROJECTILE_DAMAGE
      Modifier for projectile damage.
    • GENERAL_DAMAGE

      public static final AccessoryItem.EffectType GENERAL_DAMAGE
      Modifier to all outgoing damage sources.
    • DAMAGE_RESISTANCE

      public static final AccessoryItem.EffectType DAMAGE_RESISTANCE
      Modifier to all incoming damage sources.
    • MELEE_KNOCKBACK

      public static final AccessoryItem.EffectType MELEE_KNOCKBACK
      Modifier to melee knockback.
    • MELEE_BLEED_CHANCE

      public static final AccessoryItem.EffectType MELEE_BLEED_CHANCE
      Chance for melee attacks to inflict BleedingEffect.
    • MELEE_CRIT_DAMAGE_BONUS

      public static final AccessoryItem.EffectType MELEE_CRIT_DAMAGE_BONUS
      Modifier to melee critical damage. Additive with vanilla critical damage, which is 50% by default. For example, a value of 0.5d will result in 100% critical damage.
    • MELEE_CRIT_CHANCE

      public static final AccessoryItem.EffectType MELEE_CRIT_CHANCE
      Chance for any melee attack to become critical, regardless of vanilla critical hit conditions.
    • BLEED_CANCEL_CHANCE

      public static final AccessoryItem.EffectType BLEED_CANCEL_CHANCE
      Chance for BleedingEffect to be cancelled each damage tick.
    • BLEED_RESISTANCE

      public static final AccessoryItem.EffectType BLEED_RESISTANCE
      Modifier to BleedingEffect damage.
    • GENERAL_WITHER_CHANCE

      public static final AccessoryItem.EffectType GENERAL_WITHER_CHANCE
      Chance for attacks to inflict MobEffects.WITHER.
    • EXPERIENCE_MODIFIER

      public static final AccessoryItem.EffectType EXPERIENCE_MODIFIER
      Modifier for experience drops.
    • SONIC_BOOM_RESISTANCE

      public static final AccessoryItem.EffectType SONIC_BOOM_RESISTANCE
      Modifier to DamageTypes.SONIC_BOOM damage.
    • LOOTING_LEVEL

      public static final AccessoryItem.EffectType LOOTING_LEVEL
      Modifier to the looting level of the player.
  • Field Details

    • name

      public final String name
  • Method Details

    • values

      public static AccessoryItem.EffectType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AccessoryItem.EffectType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null