Skip to content

/condition

Validates and invokes the specified condition.

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

condition dump <id> [<indent>]

condition test <condition> with <parameters>

execute if kaya:condition <condition> with <parameters> ...

Arguments

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the command.