Enum Class Skill

java.lang.Object
java.lang.Enum<Skill>
com.minecolonies.api.entity.citizen.Skill
All Implemented Interfaces:
Serializable, Comparable<Skill>, Constable

public enum Skill extends Enum<Skill>
All possible citizen skills with their complementaries and adversaries.
  • Enum Constant Details

    • Athletics

      public static final Skill Athletics
    • Dexterity

      public static final Skill Dexterity
    • Strength

      public static final Skill Strength
    • Agility

      public static final Skill Agility
    • Stamina

      public static final Skill Stamina
    • Mana

      public static final Skill Mana
    • Adaptability

      public static final Skill Adaptability
    • Focus

      public static final Skill Focus
    • Creativity

      public static final Skill Creativity
    • Knowledge

      public static final Skill Knowledge
    • Intelligence

      public static final Skill Intelligence
  • Method Details

    • values

      public static Skill[] 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 Skill 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
    • getComplimentary

      @Nullable public abstract @Nullable Skill getComplimentary()
      The complimentary skill that levels up with the skill.
      Returns:
      the complimentary skill.
    • getAdverse

      @Nullable public abstract @Nullable Skill getAdverse()
      The adverse skill that loses xp with the skill.
      Returns:
      the adverse skill.