Package net.citizensnpcs.api.ai.speech
Class TalkableEntity
java.lang.Object
net.citizensnpcs.api.ai.speech.TalkableEntity
- All Implemented Interfaces:
- Comparable<Object>,- Talkable
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintUsed to compare an Entity to this TalkableEntityGets the LivingEntity associated with this TalkablegetName()Gets the name of the Talkable LivingEntityvoidtalkNear(SpeechContext context, String text) Called when talking near this Talkable Entity to provide a universal method to getting an event/output.voidtalkTo(SpeechContext context, String text) Called when talking to this Talkable Entity to provide a universal method to getting an event/output.
- 
Constructor Details- 
TalkableEntity
- 
TalkableEntity
 
- 
- 
Method Details- 
compareToUsed to compare an Entity to this TalkableEntity- Specified by:
- compareToin interface- Comparable<Object>
- Returns:
- 0 if the Entities are the same, 1 if they are not, -1 if the object compared is not a valid LivingEntity
 
- 
getEntityDescription copied from interface:TalkableGets the LivingEntity associated with this Talkable
- 
getNameDescription copied from interface:TalkableGets the name of the Talkable LivingEntity
- 
talkNearDescription copied from interface:TalkableCalled when talking near this Talkable Entity to provide a universal method to getting an event/output.
- 
talkToDescription copied from interface:TalkableCalled when talking to this Talkable Entity to provide a universal method to getting an event/output.
 
-