Class UndertakerConstants
java.lang.Object
com.minecolonies.api.util.constant.UndertakerConstants
Constants used by the Undertaker AIs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VisibleCitizenStatusUndertaker bury iconstatic final VisibleCitizenStatusUndertaker digging iconstatic final intEffort needed to burry a citizenstatic final intEffort needed to empty a gravestatic final intEffort needed to resurrect a citizenstatic final VisibleCitizenStatusUndertaker emptying iconstatic final doubleThe max resurrection chance cap [0.0 min equals 1.0 max]static final doubleThe bonus to max resurrection chance cap per max lvl of Mystical Site in the citystatic final doubleThe bonus to the resurrection chance for having multiples totems of undyingstatic final doubleThe weigth of each building level on the resurrection chances.static final doubleThe weigth of each worker level on the resurrection chances.static final doubleThe bonus to the resurrection chance for having a single totem of undyingstatic final doubleThe chance that a used totem of undying breaks on each resurrection attemptstatic final doubleThe EXP Earned per dig.static final doubleThe EXP Earned per wander. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
XP_PER_DIG
public static final double XP_PER_DIGThe EXP Earned per dig.- See Also:
-
XP_PER_WANDER
public static final double XP_PER_WANDERThe EXP Earned per wander.- See Also:
-
RESURRECT_BUILDING_LVL_WEIGHT
public static final double RESURRECT_BUILDING_LVL_WEIGHTThe weigth of each building level on the resurrection chances.- See Also:
-
RESURRECT_WORKER_MANA_LVL_WEIGHT
public static final double RESURRECT_WORKER_MANA_LVL_WEIGHTThe weigth of each worker level on the resurrection chances.- See Also:
-
MAX_RESURRECTION_CHANCE
public static final double MAX_RESURRECTION_CHANCEThe 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_BONUSThe 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_BONUSThe 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_BONUSThe bonus to the resurrection chance for having multiples totems of undying- See Also:
-
TOTEM_BREAK_CHANCE
public static final double TOTEM_BREAK_CHANCEThe chance that a used totem of undying breaks on each resurrection attempt- See Also:
-
EFFORT_EMPTY_GRAVE
public static final int EFFORT_EMPTY_GRAVEEffort needed to empty a grave- See Also:
-
EFFORT_BURY
public static final int EFFORT_BURYEffort needed to burry a citizen- See Also:
-
EFFORT_RESURRECT
public static final int EFFORT_RESURRECTEffort needed to resurrect a citizen- See Also:
-
EMPTYING_ICON
Undertaker emptying icon -
DIGGING_ICON
Undertaker digging icon -
BURYING_ICON
Undertaker bury icon
-
-
Constructor Details
-
UndertakerConstants
public UndertakerConstants()
-