Cobblemon Trainer Battle Commands Mod 1.21.1
MODCobblemon Trainer Battle Commands provides commands for managing trainers and initiating battles, serving as an interface for other mods like Easy NPC. It is intended for map makers and modpack developers. Features include attaching a trainer to a specific entity, starting battles with defined participants, battle formats, optional rules, and win commands. It also allows reloading individual trainers from configured paths. All commands in this mod require a permission level of 3.
Cobblemon Trainer Battle Commands provides commands for managing trainers and initiating battles, serving as an interface for other mods like Easy NPC. It is intended for map makers and modpack developers. Features include attaching a trainer to a specific entity, starting battles with defined participants, battle formats, optional rules, and win commands. It also allows reloading individual trainers from configured paths. All commands in this mod require a permission level of 3.
Battle participants can be specified using various argument types, including entity selectors, entity UUIDs, and trainer IDs. An optional argument allows immediate trainer attachment to a selected entity at battle start. Battle rules are defined by a JSON object with a property for item usage limits. Win commands are also JSON objects, defining an array of commands to execute for each battle side upon winning, and support special selectors for battle participants. Win commands are usually executed by the server in the center of all participants.
