/action
Validates and executes the specified action.
Info
This command provides the following context parameters by default:
| Parameter | Description |
|---|---|
kaya:command/entity |
The entity that executed the command, or none if the server executed the command (can be changed with /execute as) |
kaya:command/position |
The position of the entity that executed the command, or the current world's spawn position (can be changed with /execute at or /execute positioned) |
Syntax
Arguments
<id>: identifier- The ID of the action to encode and display as JSON in chat.
<action>: identifier, tag, or an inlined_action- The action(s) to execute.
<parameters>: context_parameter_map- The context to provide to the specified action.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the command. |