Package net.citizensnpcs.api.ai.speech

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

Related Classes of net.citizensnpcs.api.ai.speech.SpeechContext

Copyright © 2018 www.massapicom. 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.