Class UndertakerConstants

java.lang.Object
com.minecolonies.api.util.constant.UndertakerConstants

public class UndertakerConstants extends Object
Constants used by the Undertaker AIs.
  • Field Details

    • XP_PER_DIG

      public static final double XP_PER_DIG
      The EXP Earned per dig.
      See Also:
    • XP_PER_WANDER

      public static final double XP_PER_WANDER
      The EXP Earned per wander.
      See Also:
    • RESURRECT_BUILDING_LVL_WEIGHT

      public static final double RESURRECT_BUILDING_LVL_WEIGHT
      The weigth of each building level on the resurrection chances.
      See Also:
    • RESURRECT_WORKER_MANA_LVL_WEIGHT

      public static final double RESURRECT_WORKER_MANA_LVL_WEIGHT
      The weigth of each worker level on the resurrection chances.
      See Also:
    • MAX_RESURRECTION_CHANCE

      public static final double MAX_RESURRECTION_CHANCE
      The max resurrection chance cap [0.0 min equals 1.0 max]
      See Also:
    • MAX_RESURRECTION_CHANCE_MYSTICAL_LVL_BONUS

      public static final double MAX_RESURRECTION_CHANCE_MYSTICAL_LVL_BONUS
      The bonus to max resurrection chance cap per max lvl of Mystical Site in the city
      See Also:
    • SINGLE_TOTEM_RESURRECTION_CHANCE_BONUS

      public static final double SINGLE_TOTEM_RESURRECTION_CHANCE_BONUS
      The bonus to the resurrection chance for having a single totem of undying
      See Also:
    • MULTIPLE_TOTEMS_RESURRECTION_CHANCE_BONUS

      public static final double MULTIPLE_TOTEMS_RESURRECTION_CHANCE_BONUS
      The bonus to the resurrection chance for having multiples totems of undying
      See Also:
    • TOTEM_BREAK_CHANCE

      public static final double TOTEM_BREAK_CHANCE
      The chance that a used totem of undying breaks on each resurrection attempt
      See Also:
    • EFFORT_EMPTY_GRAVE

      public static final int EFFORT_EMPTY_GRAVE
      Effort needed to empty a grave
      See Also:
    • EFFORT_BURY

      public static final int EFFORT_BURY
      Effort needed to burry a citizen
      See Also:
    • EFFORT_RESURRECT

      public static final int EFFORT_RESURRECT
      Effort needed to resurrect a citizen
      See Also:
    • EMPTYING_ICON

      public static final VisibleCitizenStatus EMPTYING_ICON
      Undertaker emptying icon
    • DIGGING_ICON

      public static final VisibleCitizenStatus DIGGING_ICON
      Undertaker digging icon
    • BURYING_ICON

      public static final VisibleCitizenStatus BURYING_ICON
      Undertaker bury icon
  • Constructor Details

    • UndertakerConstants

      public UndertakerConstants()