Attribute Modifier v3 - RealMegaMinds/ActionInventoryMod GitHub Wiki
Attribute modifiers are used in the creation of item stacks. See Item Stack v3.
This is an object.
Looks like:
{
"attribute": "",
"operation": "",
"value": 0,
"name": "",
"uuid": "",
"slot": ""
}
This is the identifier for the entity attribute to modify. Vanilla Minecraft has:
Types
"generic.max_health""generic.follow_range""generic.knockback_resistance""generic.movement_speed""generic.flying_speed""generic.attack_damage""generic.attack_knockback""generic.attack_speed""generic.armor""generic.armor_toughness""generic.luck""zombie.spawn_reinforcements""horse.jump_strength"
This is the operation to perform on the attribute. This is a string. It can be:
Types
"ADDITION""MULTIPLY_BASE""MULTIPLY_TOTAL"
This is the value of the modification. This is a double.
This is the name of the modifier. It can be anything. This is a string.
This is the UUID of the modifier. It should be unique.
This is the equipment slot that this modifier is effective for. This is a string. It can be:
Types
"MAINHAND""OFFHAND""FEET""LEGS""CHEST""HEAD"