classpublicPriority 3
ActionFlockBeacon
com.hypixel.hytale.server.flock.corecomponents.ActionFlockBeacon
extends ActionBase
2
Methods
2
Public Methods
5
Fields
1
Constructors
Constants
ComponentType<EntityStore, BeaconSupport>BEACON_SUPPORT_COMPONENT_TYPE= BeaconSupport.getComponentType()
ComponentType<EntityStore, EntityGroup>ENTITY_GROUP_COMPONENT_TYPE= EntityGroup.getComponentType()
ComponentType<EntityStore, FlockMembership>FLOCK_MEMBERSHIP_COMPONENT_TYPE= FlockMembership.getComponentType()
Constructors
public
ActionFlockBeacon(BuilderActionFlockBeacon builderActionFlockBeacon, BuilderSupport builderSupport)Methods
Public Methods (2)
public
boolean canExecute(Ref<EntityStore> ref, Role role, InfoProvider sensorInfo, double dt, Store<EntityStore> store)@Override
public
boolean execute(Ref<EntityStore> ref, Role role, InfoProvider sensorInfo, double dt, Store<EntityStore> store)@Override
Fields
Protected Fields (5)
protected
double expirationTimeprotected
String messageprotected
int sendTargetSlotprotected
boolean sendToLeaderOnlyprotected
boolean sendToSelf