classpublicPriority 3
CombatTargetCollector
com.hypixel.hytale.builtin.npccombatactionevaluator.corecomponents.CombatTargetCollector
implements ISensorEntityCollector
6
Methods
6
Public Methods
3
Fields
1
Constructors
Constants
ComponentType<EntityStore, TransformComponent>TRANSFORM_COMPONENT_TYPE= TransformComponent.getComponentType()
Constructors
public
CombatTargetCollector()Methods
Public Methods (6)
public
void cleanup()@Override
public
void collectMatching(Ref<EntityStore> ref, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor)@Override
public
void collectNonMatching(Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor)@Override
public
void init(Ref<EntityStore> ref, Role role, ComponentAccessor<EntityStore> componentAccessor)@Override
public
void registerWithSupport(Role role)@Override
public
boolean terminateOnFirstMatch()@Override
Fields
Private/Package Fields (3)
private
double closestHostileDistanceSquaredprivate
Role roleprivate
TargetMemory targetMemory