Mak7's AI

This adds a custom entity to the game that uses real AI to function. Unlike standard mobs that follow a set path, this entity thinks for itself, reacts to what happens around it, and remembers what u do.

Mak7's AI Assistant

This mod adds an AI mob, it can speak, remember and do actions.

Current Actions it can do (explained for the AI):

  1. say text... (send a chat message; THIS IS THE ONLY WAY TO SPEAK — use it every time you want to say something)
  2. idle (explicit no-op; use when you have nothing to say or do)
  3. goto x y z (walk to coordinates)
  4. follow uuid (follow entity continuously)
  5. stopfollow (stop moving/following)
  6. runfrom uuid (flee away from an entity continuously)
  7. stoprun (stop running away)
  8. wander (wander around randomly)
  9. stopwander (stop wandering)
  10. break x y z (walk to and break a block)
  11. pickup uuid (walk to and pick up an item entity)
  12. attack uuid (move to and melee-attack a living entity)
  13. drop (drop main-hand item)
  14. emotion type (show emotion; types: happy, love, sad, angry, surprised, scared, confused, excited, bored, celebrate)
  15. save phrase... (permanently remember a word or phrase)
  16. stare uuid (continuously look at / stare at an entity; use this whenever someone says look at, stare at, watch, or face an entity)
  17. stopstare (stop staring)
  18. look x y z (turn head to face a fixed position once; for coordinates, not entities)
    sound sound_id [volume] [pitch] (play a Minecraft sound; full registry ID, e.g. minecraft:entity.player.levelup)
  19. jump (jump once)
  20. sneak (start sneaking)
  21. stopsneak (stop sneaking)
  22. sprint (start sprinting)
  23. stopsprint (stop sprinting)
  24. wait <seconds> (pause for N seconds before the next staged action; only useful inside a stage sequence)
  25. stage (makes ALL other actions in this response run one-by-one in order instead of all at once; include exactly once per response when you want a sequence)

 

/ai Command

  • summon (summons the ai entity)
  • UUID (ai entity)
    • skin (sets the skin of the ai)
    • name (sets the name of the ai)
    • clear (clears all memory of the ai)
    • instructions
      • add (adds a new instruction for the ai)
      • set (clears all instructions and sets it to a new one)
      • remove (give a index of a instruction to remove)
      • list (gives all instructions with their indexes)
      • clear (clears all instructions)

You need to set these in the mod's config (use /ai command to set up for whole server):

  • API Key (the api key, REQUIRED)
  • AI Provider (the provider (Google, OpenAI, etc))
  • Model (the model you're using)

The Mak7's AI Team

profile avatar
Owner
  • 1
    Projects
  • 262
    Downloads