public class CitizensSpeechFactory extends Object implements net.citizensnpcs.api.ai.speech.SpeechFactory
Constructor and Description |
---|
CitizensSpeechFactory() |
Modifier and Type | Method and Description |
---|---|
net.citizensnpcs.api.ai.speech.VocalChord |
getVocalChord(Class<? extends net.citizensnpcs.api.ai.speech.VocalChord> clazz) |
net.citizensnpcs.api.ai.speech.VocalChord |
getVocalChord(String name) |
String |
getVocalChordName(Class<? extends net.citizensnpcs.api.ai.speech.VocalChord> clazz) |
boolean |
isRegistered(String name) |
net.citizensnpcs.api.ai.speech.Talkable |
newTalkableEntity(Entity entity) |
net.citizensnpcs.api.ai.speech.Talkable |
newTalkableEntity(LivingEntity entity) |
void |
register(Class<? extends net.citizensnpcs.api.ai.speech.VocalChord> clazz,
String name) |
public net.citizensnpcs.api.ai.speech.VocalChord getVocalChord(Class<? extends net.citizensnpcs.api.ai.speech.VocalChord> clazz)
getVocalChord
in interface net.citizensnpcs.api.ai.speech.SpeechFactory
public net.citizensnpcs.api.ai.speech.VocalChord getVocalChord(String name)
getVocalChord
in interface net.citizensnpcs.api.ai.speech.SpeechFactory
public String getVocalChordName(Class<? extends net.citizensnpcs.api.ai.speech.VocalChord> clazz)
getVocalChordName
in interface net.citizensnpcs.api.ai.speech.SpeechFactory
public boolean isRegistered(String name)
isRegistered
in interface net.citizensnpcs.api.ai.speech.SpeechFactory
public net.citizensnpcs.api.ai.speech.Talkable newTalkableEntity(Entity entity)
newTalkableEntity
in interface net.citizensnpcs.api.ai.speech.SpeechFactory
public net.citizensnpcs.api.ai.speech.Talkable newTalkableEntity(LivingEntity entity)
newTalkableEntity
in interface net.citizensnpcs.api.ai.speech.SpeechFactory
Copyright © 2019. All rights reserved.