Package net.citizensnpcs.npc.ai.speech
Class Chat
java.lang.Object
net.citizensnpcs.npc.ai.speech.Chat
- All Implemented Interfaces:
VocalChord
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of the vocal chord used in the registration process.void
talk
(SpeechContext context) Called when an NPC'sSpeechController
needs to output some text to aTalkable
entity.
-
Field Details
-
VOCAL_CHORD_NAME
- See Also:
-
-
Constructor Details
-
Chat
public Chat()
-
-
Method Details
-
getName
Description copied from interface:VocalChord
Returns the name of the vocal chord used in the registration process.- Specified by:
getName
in interfaceVocalChord
- Returns:
- name of the VocalChord
-
talk
Description copied from interface:VocalChord
Called when an NPC'sSpeechController
needs to output some text to aTalkable
entity.- Specified by:
talk
in interfaceVocalChord
- Parameters:
context
- TheSpeechContext
with talk information
-