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");
}