Class EntityEventSupport
java.lang.Object
com.hypixel.hytale.server.npc.components.messaging.MessageSupport
com.hypixel.hytale.server.npc.components.messaging.EventSupport<EntityEventType,EntityEventNotification>
com.hypixel.hytale.server.npc.components.messaging.EntityEventSupport
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
- Direct Known Subclasses:
NPCEntityEventSupport,PlayerEntityEventSupport
public abstract class EntityEventSupport
extends EventSupport<EntityEventType,EntityEventNotification>
-
Field Summary
Fields inherited from class com.hypixel.hytale.server.npc.components.messaging.EventSupport
EVENT_AGE, messageIndices, messageSlotsFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasFlockMatchingMessage(int messageIndex, Vector3d parentPosition, double range, boolean flockOnly) voidpostMessage(EntityEventType type, EntityEventNotification notification, Ref<EntityStore> parent, Store<EntityStore> store) Methods inherited from class com.hypixel.hytale.server.npc.components.messaging.EventSupport
cloneTo, getMessageSlot, getMessageSlots, hasMatchingMessage, initialise, pollMessageMethods inherited from class com.hypixel.hytale.server.npc.components.messaging.MessageSupport
clone, isMessageEnabled, isMessageQueuedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Constructor Details
-
EntityEventSupport
public EntityEventSupport()
-
-
Method Details
-
postMessage
public void postMessage(EntityEventType type, @Nonnull EntityEventNotification notification, @Nonnull Ref<EntityStore> parent, @Nonnull Store<EntityStore> store) - Overrides:
postMessagein classEventSupport<EntityEventType,EntityEventNotification>
-
hasFlockMatchingMessage
public boolean hasFlockMatchingMessage(int messageIndex, @Nonnull Vector3d parentPosition, double range, boolean flockOnly)
-