Class CombatActionEvaluatorConfig.BasicAttacks
java.lang.Object
com.hypixel.hytale.builtin.npccombatactionevaluator.evaluator.CombatActionEvaluatorConfig.BasicAttacks
- Enclosing class:
CombatActionEvaluatorConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]static final BuilderCodec<CombatActionEvaluatorConfig.BasicAttacks> protected double[]protected booleanprotected doubleprotected doubleprotected booleanprotected floatprotected boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CODEC
-
attacks
-
randomise
protected boolean randomise -
maxRange
protected double maxRange -
maxRangeSquared
protected double maxRangeSquared -
timeout
protected float timeout -
cooldownRange
protected double[] cooldownRange -
interactionVars
-
damageFriendlies
protected boolean damageFriendlies -
useProjectedDistance
protected boolean useProjectedDistance
-
-
Constructor Details
-
BasicAttacks
protected BasicAttacks()
-
-
Method Details
-
getAttacks
-
isRandom
public boolean isRandom() -
getMaxRange
public double getMaxRange() -
getMaxRangeSquared
public double getMaxRangeSquared() -
getTimeout
public float getTimeout() -
getCooldownRange
public double[] getCooldownRange() -
getInteractionVars
-
isDamageFriendlies
public boolean isDamageFriendlies() -
shouldUseProjectedDistance
public boolean shouldUseProjectedDistance() -
toString
-