classpublicPriority 3
ActionAttack
com.hypixel.hytale.server.npc.corecomponents.combat.ActionAttack
extends ActionBase
6
Methods
6
Public Methods
22
Fields
1
Constructors
Constants
ThreadLocal<SingleCollector<BallisticData>>THREAD_LOCAL_COLLECTOR= ThreadLocal.withInitial(
() -> new SingleCollector<>(
(collectorTag, interactio...
Constructors
public
ActionAttack(BuilderActionAttack builderActionAttack, BuilderSupport builderSupport)Methods
Public Methods (6)
public
void activate(Role role, InfoProvider infoProvider)@Override
public
boolean canExecute(Ref<EntityStore> ref, Role role, InfoProvider sensorInfo, double dt, Store<EntityStore> store)@Override
public
void deactivate(Role role, InfoProvider infoProvider)@Override
public
boolean execute(Ref<EntityStore> ref, Role role, InfoProvider sensorInfo, double dt, Store<EntityStore> store)@Override
public
String get()public
InteractionType getInteractionType()Fields
Protected Fields (22)
protected
double[] aimingTimeRangeprotected
double aimingTimeRemainingprotected
String attackprotected
String attackInteractionprotected
int attackParameterSlotprotected
double[] attackPauseRangeprotected
boolean attackReadyprotected
boolean avoidFriendlyFireprotected
ActionAttack.BallisticMode ballisticModeprotected
boolean ballisticShortprotected
StringParameterProvider cachedAttackProviderprotected
double chargeDistanceprotected
float chargeForprotected
boolean checkLineOfSightprotected
boolean damageFriendliesprotected
int idprotected
boolean initialisedprotected
InteractionType interactionTypeprotected
Map<String, String> interactionVarsprotected
double meleeConeAngleprotected
Role ownerRoleprotected
boolean skipAiming