Package net.citizensnpcs.api.ai.speech
Interface VocalChord
public interface VocalChord
-
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.
-
Method Details
-
getName
String getName()Returns the name of the vocal chord used in the registration process.- Returns:
- name of the VocalChord
-
talk
Called when an NPC'sSpeechController
needs to output some text to aTalkable
entity.- Parameters:
context
- TheSpeechContext
with talk information
-