Cobblemon Trainer Battle Commands

Provides commands to manage trainers and start battles that can act as interface for other mods (e.g. Easy NPC).

File Details

tbcs-api-fabric-1.21.1-0.14.0-beta.jar

  • B
  • Apr 1, 2026
  • 54.88 KB
  • 12
  • 1.21.1
  • Fabric

File Name

tbcs-api-fabric-1.21.1-0.14.0-beta.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:tbcs-1172731:7858067"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

# Changelog As of version `0.14.0-beta`, TBCS may only be redistributed under the terms of the [MCOML License](https://gitlab.com/srcmc/tbcs/-/raw/master/LICENSE.txt?ref\_type=heads). ## [0.14.0-beta] - 2026-04-01 **Added:** - *#31* Command argument `as` for the `battle` command - This argument can follow any entity selector and allows to specify the id of a trainer that should be attached to the entity at the start of the battle - Using this argument is equivalent to invoking `attach` for the targeted entity, **and makes an explicit invocation of `attach` obsolete** (while `attach` + `battle` still works using `battle ... as ` is generally adviced) - When used with a player selector (e.g. `@s as `) the player will enter the battle with a temporary copy of that trainers team (enjoy setting up puzzles) - When used with another trainer id (e.g. ` as `) then `trainerId_2` will be attached to the same entity `trainerId_1` is currently attached to (if possible) - *#30* Exposed (barebones) API for other mods to register win commands (see `TBCSCommands#getContext()` and `CommandsContext#registerWinCommands()`) - All API features are server side only and can be installed with any of the `tbcs-api` releases (i.e. clients do not need to have TBCS installed) - If the regular TBCS mod is installed on a server then `tbcs-api` should not be installed alongside, since TBCS already contains the api (this will require clients to also have TBCS installed) - The API version of the mod **does not provide any commands**, it does nothing by itself (it only offers functionalities for other mods that may depend on TBCS) - *#29* New command `tbcs reload `: Reload a single trainer that was read from a **TBCS (trainers) directory** only **Changed:** - *#28* Update min required version of rctapi to `0.15.0-beta` **Fixed:** - *#27* Conflict with Cobblemon `1.7.3` (ambiguous event handler)