Examples of SpeechContext


Examples of net.citizensnpcs.api.ai.speech.SpeechContext

    public void load(DataKey key) throws NPCLoadException {
        setBot(key.getString("botname"));
    }

    public void chatTo(LivingEntity entity, String input) {
        SpeechContext context = new SpeechContext(reponse(input));
        context.addRecipient(entity);
        context.setTalker(getNPC().getBukkitEntity());
        npc.getDefaultSpeechController().speak(context, "chat");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.