Overview
The purpose of this mod is to make it easier to add multiple attribute modifiers to multiple mobs and assign them with a single command. Attribute modifier groups are defined by constructing a list of attributes, the modifier value and the modify operation.
Example in spoiler below:
[
{
"attribute": "minecraft:generic.scale",
"operation": "add_multiplied_total",
"value": 3.0
},
{
"attribute": "minecraft:generic.max_health",
"operation": "add_multiplied_total",
"value": 3.0
},
{
"attribute": "minecraft:generic.attack_damage",
"operation": "add_multiplied_total",
"value": 3.0
},
{
"attribute": "minecraft:player.block_interaction_range",
"operation": "add_multiplied_total",
"value": 3.0
},
{
"attribute": "minecraft:player.entity_interaction_range",
"operation": "add_multiplied_total",
"value": 3.0
}
this mod uses the datapack format
data/<namespace>/attribute_modifier_group/<path>.json
to read from, anything outside of that folder will be ignored. All file and folder names must be lowercase and are limited to a-z, _, - and .
Attribute modifier groups can be assigned or removed with a few commands/attributemodifiergroups give <targets> <group_name> gives the selected targets the attribute modifier group
/attributemodifiergroups remove <group_name> removes the user from the attribute modifier group
/attributemodifiergroups remove <targets> <group_name> removes the selected targets from the attribute modifier group
all commands require at least permission level 2 to use
This mod is serverside only.