public interface Talkable extends Comparable<Object>
Modifier and Type | Method and Description |
---|---|
org.bukkit.entity.Entity |
getEntity()
Gets the LivingEntity associated with this Talkable
|
String |
getName()
Gets the name of the Talkable LivingEntity
|
void |
talkNear(SpeechContext context,
String message,
VocalChord vocalChord)
Called by a
VocalChord when talking near this Talkable Entity to provide a universal method to getting an
event/output. |
void |
talkTo(SpeechContext context,
String message,
VocalChord vocalChord)
Called by a
VocalChord when talking to this Talkable Entity to provide a universal method to getting an
event/output. |
compareTo
org.bukkit.entity.Entity getEntity()
String getName()
void talkNear(SpeechContext context, String message, VocalChord vocalChord)
VocalChord
when talking near this Talkable Entity to provide a universal method to getting an
event/output.context
- the Speech contextmessage
- The message to sendvocalChord
- The chord to usevoid talkTo(SpeechContext context, String message, VocalChord vocalChord)
VocalChord
when talking to this Talkable Entity to provide a universal method to getting an
event/output.context
- the Speech contextmessage
- The message to sendvocalChord
- The chord to useCopyright © 2021. All rights reserved.