Enum Class VillagerMessage

java.lang.Object
java.lang.Enum<VillagerMessage>
simplexity.villagerinfo.configurations.locale.VillagerMessage
All Implemented Interfaces:
Serializable, Comparable<VillagerMessage>, Constable

public enum VillagerMessage extends Enum<VillagerMessage>
The messages used in the villager information output.
  • Enum Constant Details

    • PURPUR_LOBOTOMIZED

      public static final VillagerMessage PURPUR_LOBOTOMIZED
    • ZOMBIE_VILLAGER_CONVERSION_TIME

      public static final VillagerMessage ZOMBIE_VILLAGER_CONVERSION_TIME
    • ZOMBIE_VILLAGER_NOT_CURRENTLY_CONVERTING

      public static final VillagerMessage ZOMBIE_VILLAGER_NOT_CURRENTLY_CONVERTING
    • BABY_VILLAGER_AGE

      public static final VillagerMessage BABY_VILLAGER_AGE
    • VILLAGER_PROFESSION

      public static final VillagerMessage VILLAGER_PROFESSION
    • VILLAGER_HEALTH

      public static final VillagerMessage VILLAGER_HEALTH
    • VILLAGER_JOBSITE_LOCATION

      public static final VillagerMessage VILLAGER_JOBSITE_LOCATION
    • VILLAGER_LAST_WORKED

      public static final VillagerMessage VILLAGER_LAST_WORKED
    • VILLAGER_RESTOCKS_TODAY

      public static final VillagerMessage VILLAGER_RESTOCKS_TODAY
    • VILLAGER_BED_LOCATION

      public static final VillagerMessage VILLAGER_BED_LOCATION
    • VILLAGER_LAST_SLEPT

      public static final VillagerMessage VILLAGER_LAST_SLEPT
    • VILLAGER_INVENTORY

      public static final VillagerMessage VILLAGER_INVENTORY
    • VILLAGER_INVENTORY_ITEM_FORMAT

      public static final VillagerMessage VILLAGER_INVENTORY_ITEM_FORMAT
    • PLAYER_REPUTATION_MESSAGE

      public static final VillagerMessage PLAYER_REPUTATION_MESSAGE
    • NO_INFORMATION_TO_DISPLAY

      public static final VillagerMessage NO_INFORMATION_TO_DISPLAY
  • Method Details

    • values

      public static VillagerMessage[] 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 VillagerMessage 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
    • getMessage

      public String getMessage()
      gets the string associated with this message
      Returns:
      String
    • setMessage

      public void setMessage(String message)
      sets message to the provided string
      Parameters:
      message - String