Interface Weapon


@NullMarked @Experimental @NonExtendable public interface Weapon
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder for Weapon.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    The number of seconds that blocking is disabled.
    int
    The damage that the weapon deals per attack.
    Returns a new builder for creating a Weapon.
  • Method Details

    • weapon

      static Weapon.Builder weapon()
      Returns a new builder for creating a Weapon.
      Returns:
      a builder instance.
    • itemDamagePerAttack

      int itemDamagePerAttack()
      The damage that the weapon deals per attack.
    • disableBlockingForSeconds

      float disableBlockingForSeconds()
      The number of seconds that blocking is disabled.