Enum Class ConfigToggle

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

public enum ConfigToggle extends Enum<ConfigToggle>
Configuration toggles
  • Enum Constant Details

    • OUTPUT_ENABLED

      public static final ConfigToggle OUTPUT_ENABLED
    • DISPLAY_PURPUR_LOBOTOMIZED

      public static final ConfigToggle DISPLAY_PURPUR_LOBOTOMIZED
    • DISPLAY_BABY_VILLAGER_AGE

      public static final ConfigToggle DISPLAY_BABY_VILLAGER_AGE
    • DISPLAY_ZOMBIE_VILLAGER_CONVERSION_TIME

      public static final ConfigToggle DISPLAY_ZOMBIE_VILLAGER_CONVERSION_TIME
    • DISPLAY_HEALTH

      public static final ConfigToggle DISPLAY_HEALTH
    • DISPLAY_PROFESSION

      public static final ConfigToggle DISPLAY_PROFESSION
    • DISPLAY_JOB_SITE_LOCATION

      public static final ConfigToggle DISPLAY_JOB_SITE_LOCATION
    • DISPLAY_LAST_WORK_TIME

      public static final ConfigToggle DISPLAY_LAST_WORK_TIME
    • DISPLAY_BED_LOCATION

      public static final ConfigToggle DISPLAY_BED_LOCATION
    • DISPLAY_LAST_SLEEP_TIME

      public static final ConfigToggle DISPLAY_LAST_SLEEP_TIME
    • DISPLAY_VILLAGER_INVENTORY

      public static final ConfigToggle DISPLAY_VILLAGER_INVENTORY
    • DISPLAY_RESTOCKS_TODAY

      public static final ConfigToggle DISPLAY_RESTOCKS_TODAY
    • DISPLAY_PLAYER_REPUTATION

      public static final ConfigToggle DISPLAY_PLAYER_REPUTATION
    • HIGHLIGHT_VILLAGER_WORKSTATION_ON_OUTPUT

      public static final ConfigToggle HIGHLIGHT_VILLAGER_WORKSTATION_ON_OUTPUT
    • PLAY_SOUND_ON_INFO_DISPLAY

      public static final ConfigToggle PLAY_SOUND_ON_INFO_DISPLAY
  • Method Details

    • values

      public static ConfigToggle[] 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 ConfigToggle 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
    • isEnabled

      public boolean isEnabled()
      gets whether this specific toggle is enabled or not
      Returns:
      boolean
    • setEnabled

      public void setEnabled(boolean setting)
      Sets this toggle to be enabled or disabled
      Parameters:
      setting - boolean