Uses of Interface
net.citizensnpcs.api.ai.speech.VocalChord
Package
Description
-
Uses of VocalChord in net.citizensnpcs.api.ai.speech
Modifier and TypeMethodDescriptionSpeechFactory.getVocalChord
(Class<? extends VocalChord> clazz) Creates a new instance of a VocalChordSpeechFactory.getVocalChord
(String name) Creates a new instance of aVocalChord
Modifier and TypeMethodDescriptionvoid
Talkable.talkNear
(SpeechContext context, String message, VocalChord vocalChord) Called by aVocalChord
when talking near this Talkable Entity to provide a universal method to getting an event/output.void
Talkable.talkTo
(SpeechContext context, String message, VocalChord vocalChord) Called by aVocalChord
when talking to this Talkable Entity to provide a universal method to getting an event/output.Modifier and TypeMethodDescriptionSpeechFactory.getVocalChord
(Class<? extends VocalChord> clazz) Creates a new instance of a VocalChordSpeechFactory.getVocalChordName
(Class<? extends VocalChord> clazz) Returns the registered name of aVocalChord
classvoid
SpeechFactory.register
(Class<? extends VocalChord> clazz, String name) Registers aVocalChord
class with the SpeechController, making it available for use within. -
Uses of VocalChord in net.citizensnpcs.api.ai.speech.event
ModifierConstructorDescriptionSpeechBystanderEvent
(Talkable target, SpeechContext context, String message, VocalChord vocalChord) SpeechEvent
(Talkable target, SpeechContext context, String message, VocalChord vocalChord) SpeechTargetedEvent
(Talkable target, SpeechContext context, String message, VocalChord vocalChord) -
Uses of VocalChord in net.citizensnpcs.api.trait.trait
Modifier and TypeMethodDescriptionvoid
Speech.setDefaultVocalChord
(Class<VocalChord> clazz) Sets the name of the defaultVocalChord
for this NPC.