Class ConsoleConversationHandler

java.lang.Object
space.ranzeplay.saysth.debug.ConsoleConversationHandler

public class ConsoleConversationHandler extends Object
Console conversation handler for debugging the mod's conversation feature. Creates a temporary villager conversation that can be interacted with from the server console.
  • Constructor Details

    • ConsoleConversationHandler

      public ConsoleConversationHandler()
  • Method Details

    • initialize

      public void initialize()
      Initialize the debug villager with a temporary conversation
    • handleConsoleInput

      public String handleConsoleInput(String input)
      Handle console input and return the villager's response
      Parameters:
      input - The console input message
      Returns:
      The villager's response, or null if input doesn't match chat prefix
    • resetConversation

      public void resetConversation()
      Reset the debug conversation
    • getConversationHistory

      public String getConversationHistory()
      Get conversation history for debugging
    • getVillagerInfo

      public String getVillagerInfo()
      Get current villager info