HyCodeYourTale
classpublicPriority 3

BeaconSupport

com.hypixel.hytale.server.npc.components.messaging.BeaconSupport

extends MessageSupport

implements Component

8

Methods

8

Public Methods

3

Fields

1

Constructors

Constructors

public
BeaconSupport()

Methods

Public Methods (8)

public
Component<EntityStore> clone()
@Nonnull@Override
publicstatic
ComponentType<EntityStore, BeaconSupport> getComponentType()
public
NPCMessage[] getMessageSlots()
@Override
public
String getMessageTextForIndex(int messageIndex)
public
void initialise(Object2IntMap<String> messageIndices)
public
Ref<EntityStore> peekMessage(int messageIndex)
@Nullable
public
Ref<EntityStore> pollMessage(int messageIndex)
@Nullable
public
void postMessage(String message, Ref<EntityStore> target, double age)

Fields

Private/Package Fields (3)

privateInt2ObjectMap<String> indicesToMessages
privateObject2IntMap<String> messageIndices
privateNPCMessage[] messageSlots

Related Classes