Skip to main content
Version: 26.1+

Actions

Conditional Action

ID: palladium:conditional
Runs an action based on the outcome of a condition
KeyTypeDescriptionRequiredFallback
conditionCondition,
Condition[]
The condition(s) that define the action that will run./
on_trueAction,
Action[]
The action(s) that are being run when the condition is true/
on_falseAction,
Action[]
The action(s) that are being run when the condition is false/

Modify Number Data Attachment

ID: palladium:modify_number_data_attachment
Applies an arithmetic operation to a numeric data attachment on the entity.
KeyTypeDescriptionRequiredFallback
attachmentData Attachment IDThe ID of the data attachment to modify./
operation+
-
*
/
%
The arithmetic operation to apply./
value(Dynamic) ValueThe operand value./

Run Command

ID: palladium:run_command
Runs a Minecraft command
KeyTypeDescriptionRequiredFallback
commandstring[]The command(s) that are being run./

Set Data Attachment

ID: palladium:set_data_attachment
Sets the value of a data attachment on the entity.
KeyTypeDescriptionRequiredFallback
attachmentData Attachment IDThe ID of the data attachment to set./
value(Dynamic) ValueThe value to set the data attachment to./