Attribute Modifier Properties (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.5.9

Syntax

[the] [attribute] modifier (id|amount|slot|operation) of %attributemodifiers%

Description

Represents the different components of an attribute modifier. NOTE: These cannot be changed. `id` = The unique NamespacedKey of a modifier. `amount` = Amount of change from the modifier. `slot` = Equipment Slot Group the item must be in for the modifier to take effect. `operation` = The operation of a modifier. See [**McWiki**](https://minecraft.wiki/w/Attribute#Operations) for more details.

Examples

set {_id} to modifier id of {_modifier}
set {_slot} to modifier slot of {_modifier}
if modifier amount of {_mod} > 1:

View source