HyCodeYourTale
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)

protecteddouble[] aimingTimeRange
protecteddouble aimingTimeRemaining
protectedString attack
protectedString attackInteraction
protectedint attackParameterSlot
protecteddouble[] attackPauseRange
protectedboolean attackReady
protectedboolean avoidFriendlyFire
protectedActionAttack.BallisticMode ballisticMode
protectedboolean ballisticShort
protectedStringParameterProvider cachedAttackProvider
protecteddouble chargeDistance
protectedfloat chargeFor
protectedboolean checkLineOfSight
protectedboolean damageFriendlies
protectedint id
protectedboolean initialised
protectedInteractionType interactionType
protectedMap<String, String> interactionVars
protecteddouble meleeConeAngle
protectedRole ownerRole
protectedboolean skipAiming

Related Classes