Download Attribute Modifier Groups — Minecraft Mods — MetaMods

Attribute Modifier Groups

Active

Downloads

0

Last update

7 months ago
Client
Utils

Generated text converted from Russian to English:

Attribute Modifier Groups

This mod provides a convenient tool for mass application of attributes to various creatures and players in your Minecraft world. Instead of assigning each modifier with a separate command, you can group multiple attributes into a single complex and apply them instantly.

The core of the work is simple: you create a special JSON file where you specify all the necessary characteristic changes. For example, you can create a group that increases creature size, their health, damage, and interaction range - all of this will be executed with one command.

Here are the configurations you can define in attribute groups:

[
{
"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
}
]

For integration with the game, the mod follows datapack standards - all configuration files are located in the folder data/<namespace>/attribute_modifier_group/<path>.json. File and folder names must consist only of lowercase letters a-z, underscores, hyphens, and dots.

Attribute group management is handled through the command system:

  • Assign a group: /attributemodifiergroups give <targets> <group_name>
  • Remove a group from a user: /attributemodifiergroups remove <group_name>
  • Remove a group from selected creatures: /attributemodifiergroups remove <targets> <group_name>

To execute these commands, operator rights (access level 2 or higher) are required. The mod works exclusively on the server side, making it an ideal solution for game project organizers and administrators of multiplayer worlds.

Project members
tfarecnim

tfarecnim

Created: 6 Mar 2025

ID: 94929