Class GuardConstants

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

public final class GuardConstants extends Object
Constants used by the Guard AIs.
  • Field Details

    • DEFAULT_VISION

      public static final int DEFAULT_VISION
      Default vision range.
      See Also:
    • GUARD_POS_RANGE

      public static final int GUARD_POS_RANGE
      Range a guard should be within of GuardPos.
      See Also:
    • GUARD_FOLLOW_TIGHT_RANGE

      public static final int GUARD_FOLLOW_TIGHT_RANGE
      Range a guard should be within of Follow for Tight Formation.
      See Also:
    • GUARD_FOLLOW_LOSE_RANGE

      public static final int GUARD_FOLLOW_LOSE_RANGE
      Range a guard should be within of Follow for Lose Formation.
      See Also:
    • Y_VISION

      public static final int Y_VISION
      Y search range.
      See Also:
    • EXP_PER_MOB_DEATH

      public static final int EXP_PER_MOB_DEATH
      Experience to add when a mob is killed
      See Also:
    • PREPARE_DELAY_SECONDS

      public static final int PREPARE_DELAY_SECONDS
      Seconds to delay after prepare AI State.
      See Also:
    • PHYSICAL_ATTACK_DELAY_MIN

      public static final int PHYSICAL_ATTACK_DELAY_MIN
      Minimum physical Attack delay in ticks, Monsters are immune for 10 ticks
      See Also:
    • PHYSICAL_ATTACK_DELAY_BASE

      public static final int PHYSICAL_ATTACK_DELAY_BASE
      Physical Attack delay in ticks.
      See Also:
    • BASE_DISTANCE_FOR_RANGED_ATTACK

      public static final int BASE_DISTANCE_FOR_RANGED_ATTACK
      The base distance for an attack in Blocks.
      See Also:
    • BASE_DISTANCE_FOR_POTION_ATTACK

      public static final int BASE_DISTANCE_FOR_POTION_ATTACK
      The base distance for a potion throwing attack in Blocks.
      See Also:
    • MAX_DISTANCE_FOR_RANGED_ATTACK

      public static final int MAX_DISTANCE_FOR_RANGED_ATTACK
      Rangers maximum distance in blocks for an attack.(24 max arrow dist)
      See Also:
    • RANGER_BASE_DMG

      public static final int RANGER_BASE_DMG
      Ranger's base damage
      See Also:
    • RANGED_FLEE_SQDIST

      public static final int RANGED_FLEE_SQDIST
      Flee distance from Target
      See Also:
    • RANGED_VELOCITY

      public static final float RANGED_VELOCITY
      Ranged attack velocity
      See Also:
    • RANGED_ATTACK_DELAY_BASE

      public static final int RANGED_ATTACK_DELAY_BASE
      Physical Attack delay in ticks.
      See Also:
    • HIT_CHANCE_DIVIDER

      public static final float HIT_CHANCE_DIVIDER
      Ranged hit chance devider.
      See Also:
    • RANGED_AIM_SLIGHTLY_HIGHER_MULTIPLIER

      public static final double RANGED_AIM_SLIGHTLY_HIGHER_MULTIPLIER
      Have to aim that bit higher to hit the target.
      See Also:
    • KNIGHT_ATTACK_DELAY_BASE

      public static final int KNIGHT_ATTACK_DELAY_BASE
      Basic delay for the next Knight attack.
      See Also:
    • KNIGHT_ATTACK_DELAY_MIN

      public static final int KNIGHT_ATTACK_DELAY_MIN
      Minimum delay for the next Knight attack.
      See Also:
    • KNIGHT_HP_BONUS

      public static final int KNIGHT_HP_BONUS
      Basic bonus hp for knights
      See Also:
    • CAVALRY_HP_BONUS

      public static final int CAVALRY_HP_BONUS
      Basic bonus hp for cavalry
      See Also:
    • CAVALRY_DAMAGE_MULTIPLIER

      public static final double CAVALRY_DAMAGE_MULTIPLIER
      Basic bonus damage for cavalry
      See Also:
    • CAVALRY_RANGE_MULTIPLIER

      public static final double CAVALRY_RANGE_MULTIPLIER
      Basic bonus melee range for cavalry
      See Also:
    • CAVALRY_RANGED_DAMAGE_VULNERABILITY

      public static final double CAVALRY_RANGED_DAMAGE_VULNERABILITY
      Damage multiplier for cavalry when hit by ranged attacks, to represent their vulnerability to such attacks.
      See Also:
    • CAVALRY_CORNER_PENALTY

      public static final float CAVALRY_CORNER_PENALTY
      Cornering penalty for mounted cavalry units. Encourages "straight-first" pathing.
      See Also:
    • CAVALRY_PATROL_RANGE

      public static final int CAVALRY_PATROL_RANGE
      Patrol range for cavalry units.
      See Also:
    • DRUID_HP_BONUS

      public static final int DRUID_HP_BONUS
      Basic bonus hp for druids
      See Also:
    • MAX_DISTANCE_FOR_ATTACK

      public static final int MAX_DISTANCE_FOR_ATTACK
      This knight's max distance for attacking.
      See Also:
    • BASE_PHYSICAL_DAMAGE

      public static final int BASE_PHYSICAL_DAMAGE
      Base physical damage.
      See Also:
    • TURN_AROUND

      public static final double TURN_AROUND
      Quantity the worker should turn around all at once.
      See Also:
    • BASIC_VOLUME

      public static final double BASIC_VOLUME
      Normal volume at which sounds are played at.
      See Also:
    • MOVE_MINIMAL

      public static final double MOVE_MINIMAL
      Quantity to be moved to rotate the entity without actually moving.
      See Also:
    • LEATHER_BUILDING_LEVEL_RANGE

      public static final net.minecraft.util.Tuple<Integer,Integer> LEATHER_BUILDING_LEVEL_RANGE
      Guard armor constants
    • GOLD_BUILDING_LEVEL_RANGE

      public static final net.minecraft.util.Tuple<Integer,Integer> GOLD_BUILDING_LEVEL_RANGE
    • CHAIN_BUILDING_LEVEL_RANGE

      public static final net.minecraft.util.Tuple<Integer,Integer> CHAIN_BUILDING_LEVEL_RANGE
    • IRON_BUILDING_LEVEL_RANGE

      public static final net.minecraft.util.Tuple<Integer,Integer> IRON_BUILDING_LEVEL_RANGE
    • DIA_BUILDING_LEVEL_RANGE

      public static final net.minecraft.util.Tuple<Integer,Integer> DIA_BUILDING_LEVEL_RANGE
    • SHIELD_LEVEL_RANGE

      public static final net.minecraft.util.Tuple<Integer,Integer> SHIELD_LEVEL_RANGE
    • SHIELD_BUILDING_LEVEL_RANGE

      public static final net.minecraft.util.Tuple<Integer,Integer> SHIELD_BUILDING_LEVEL_RANGE