Usage
This mod is intended for use by modpack developers and server administrators. It is not intended for use by regular players.
It allows for the creation of custom attributes for items, and the management of these attributes through commands.
It stores custom attributes by items and item tags on a player so for example, you can give a player an increased
attack damage with all swords etc.
Commands
The mod provides a command for managing item attributes:
/itemattribute
This command allows you to add, list, and clear custom attributes for items.
Subcommands
- `/itemattribute add <item> <name> <attribute> <value> <operation>`: Adds a new attribute to an item. The `<item>` argument is the item to add the attribute to. The `<name>` argument is the name of the attribute. The `<attribute>` argument is the attribute to add. The `<value>` argument is the value of the attribute. The `<operation>` argument is the operation of the attribute, which can be `multiply`, `multiply_base`, or `addition`.
- `/itemattribute list`: Lists all the attributes for a player.
- `/itemattribute clear`: Clears all attributes.
- `/itemattribute clear <item>`: Clears all attributes for a specific item.
- `/itemattribute clear <item> <attribute>`: Clears a specific attribute for a specific item.
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.