UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

37 lines 1.37 kB
{ "fields": [ { "id": "command", "desciption": "Slash command to run.", "dataType": 2, "alternates": [ { "id": "command", "desciption": "List of slash commands to run.", "dataType": 17 } ] }, { "id": "target", "desciption": "The target context to execute against.", "dataType": 2, "choices": [ { "id": "self" } ] } ], "description": "Will queue a slash command or a series of slash commands set in an array to trigger at the end of the tick. Due to being queued as opposed to triggering instantly, any immediate side-effects of the command may not be observable by other molang queries, commands, or scripts until later in the tick. Note that commands executed via queue_command are guaranteed to run in order with respect to other queued commands. Additionally, if an entity is removed before a queued command has the chance to execute, for example removed on the same tick that the command was queued, the command will not execute.", "title": "Queue Command", "samples": { "samples": [ { "path": "Example:", "content": "\t\t\"queue_command\": {\r\n\t\t\t\"command\": \"say I have died!\"\r\n\t\t}\r\n\t" } ] }, "id": "Queue Command" }