add %val:EXPR% [to] %e:ENTITY_POSSESSIVE% %attr:ATTRIBUTE% — Statements

add %val:EXPR% [to] %e:ENTITY_POSSESSIVE% %attr:ATTRIBUTE%
Attribute1.0.0

Description

Adds a value to an entity's attribute base value.

Examples

add 10 to mob's max_health

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

add <val> <e> <attr>
add <val> to <e> <attr>

Related (Attribute)