Changelog 0.7.0
Added
- Dialogue bubbles now appear above the Pokémon.
- Particle effects are displayed on the Pokémon depending on whether it liked the response.
- New actions based on Pokémon type:
- Cook (Fire): Can cook food and smelt ores. 5% chance of item turning into charcoal.
- Grow (Plant): Grows tree saplings and crops.
- Repair (Metal): Repairs tools and weapons up to a certain durability threshold.
- Swift (Ghost): Transports the player to an alternate dimension. Player becomes invisible, gains increased speed and jump height, but suffers from high weakness.
- Additional actions will be introduced in future updates.
Changed
- Eat action now considers all consumable items, including those from other mods and powerful items such as Golden Apples.
- Custom food effects will be implemented in upcoming versions.
New config values
dialogueInChat: Determines whether or not dialogues appear in the chat.chatbubbles: Determines whether dialogue bubbles appear above the Pokémon's heads.decreaseFriendship: If active, the Pokémon's friendship may decrease depending on the dialogues.
Notifications & Battle Handling
- Immediate notification is displayed to the player when a Pokémon is about to perform an action.
- If a Pokémon battle is in progress, the
attackcommand will not be executed, even if announced in chat.
AI Improvements
- Improved stability with better handling of callbacks and dialogue continuity (e.g., questions referencing previous conversations).
- Removed random brackets (
/) from AI messages.
Major Features
New Command System
Pokémon now respond to player chat or act autonomously through a set of defined commands. Each command changes the Pokémon’s behavior:
- attack: Pokémon attacks any mobs close to it.
- protect: Pokémon targets hostile mobs nearest to the player; if none are found, it follows the player.
- eat: Pokémon consumes edible items dropped on the ground (excluding powerful items like golden apples). Food effects will be added in future updates.
- buff: Pokémon grants the player a positive status effect based on its primary type (e.g., regeneration, speed).
- debuff: Pokémon applies a negative status effect to nearby mobs based on its primary type (e.g., slowness, weakness).
- sit: Pokémon stays fixed in place, ignoring other actions.
- idle: Pokémon cancels all active commands and returns to normal behavior.
To cancel an action manually or reset to default behavior, place the Pokémon back into its Pokéball and release it again.
Memory System
Pokémon now have two categories of memory:
- Short-term: contextual actions and small events.
- Long-term: story-driven and personality-defining events.
Memories are stored in: saves/world/data/cobblebrain_memories.json
Limits can be set in: cobblebrain.json
This allows Pokémon to remember events more effectively and for longer, improving AI stability. Players can reorganize memories manually or via instructs by moving entries between short and long lists.
undefined
Config Features
Added 5 new config options in cobblebrain.json:
PokemonTalk: toggle Pokémon speech (basically an on/off switch of the mod).DialogueOnDamage: trigger dialogue when player or Pokémon takes damage.DialogueOnBattle: trigger dialogue during battle events.allowPokemonPVE: toggle whether Pokémon can fight against mobs (Except tamed mobs, non-agressive mobs with tags and other pokemons).allowPokemonPVP: toggle whether Pokémon can fight against other players and their pokemon (Player vs Player).
Bug fixes
- Greatly reduced AI confusion during Pokémon swaps and other actions in battles.
- Now all actions and events take the Pokémon's nickname into account.



