## Major Features
### <span style="color: #3598db;">New Command System</span>
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.
<span style="color: #f1c40f;">To cancel an action manually or reset to default behavior, place the Pokémon back into its Pokéball and release it again.</span>
### <span style="color: #3598db;">Memory System</span>
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. <span style="color: #3598db;"> <span style="color: #f1c40f;">Players can reorganize memories manually or via instructs by moving entries between <strong>short</strong> and <strong>long</strong> lists.</span></span>
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.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }