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-fabric-1.21.1-0.14.0-beta.jar

  • B
  • Apr 1, 2026
  • 55.69 KB
  • 15
  • 1.21.1
  • Fabric

File Name

tbcs-fabric-1.21.1-0.14.0-beta.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:tbcs-1172731:7858066"
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.

[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 ... <entity> as <trainerId> is generally adviced)
    • When used with a player selector (e.g. @s as <trainerId>) 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. <trainerId_1> as <trainerId_2>) 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 <trainerId>: 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)