Attribute Editor
This plugin provides a short library for editing item attributes, inaccessible via the Spigot API, along with a nice command based interface.
Purpose
Many properties of Minecraft items are expressed as attributes and can be edited freely. Examples include attack damage, armor, luck, movement speed, and much more. Spigot allows you full access to attributes of entities. However, there is currently no way in the Spigot API to read or edit these attributes on items. This is where AttributeEditor comes in.
Features
With the API, you can list attributes which are assigned to an item. You can also get a listing of the default attributes which apply when no explicit attributes are set. Furthermore, this API provides simple methods to add new attributes to an item, or remove them all. Example:
For more information, see the source code. Beyond the API, there are 3 quick and easy commands to view, add, and remove attributes. I may or may not respond to feature requests.
Compatibility
AttributeEditor currently works ONLY on Spigot version 1.13. It will require a manual update because it accesses NBT data of items using NMS and OBC imports. Don't use this on any earlier version, and use with caution on any later version.
For older Spigot versions, scroll down.
Installation
AttributeEditor requires no configuration and has no plugin dependencies. Simply drop the jar file in your plugins folder and restart your server.
Commands
There is only one command: /attred. Syntax:
Permissions
There is only one permission for the main command.
Older versions
This plugin provides a short library for editing item attributes, inaccessible via the Spigot API, along with a nice command based interface.
Purpose
Many properties of Minecraft items are expressed as attributes and can be edited freely. Examples include attack damage, armor, luck, movement speed, and much more. Spigot allows you full access to attributes of entities. However, there is currently no way in the Spigot API to read or edit these attributes on items. This is where AttributeEditor comes in.
Features
With the API, you can list attributes which are assigned to an item. You can also get a listing of the default attributes which apply when no explicit attributes are set. Furthermore, this API provides simple methods to add new attributes to an item, or remove them all. Example:
Code (Text):
ItemStack item;
List<ItemAttribute> attrs = ItemAttribute.of(item);
List<ItemAttribute> defs = ItemAttribute.defaultsOf(item);
new ItemAttribute(Attribute.GENERIC_LUCK, EquipmentSlot.HEAD,
"my.custom.attribute", 10.0,
Operation.ADD_NUMBER, UUID.randomUUID()).addTo(item);
List<ItemAttribute> attrs = ItemAttribute.of(item);
List<ItemAttribute> defs = ItemAttribute.defaultsOf(item);
new ItemAttribute(Attribute.GENERIC_LUCK, EquipmentSlot.HEAD,
"my.custom.attribute", 10.0,
Operation.ADD_NUMBER, UUID.randomUUID()).addTo(item);
Compatibility
AttributeEditor currently works ONLY on Spigot version 1.13. It will require a manual update because it accesses NBT data of items using NMS and OBC imports. Don't use this on any earlier version, and use with caution on any later version.
For older Spigot versions, scroll down.
Installation
AttributeEditor requires no configuration and has no plugin dependencies. Simply drop the jar file in your plugins folder and restart your server.
Commands
There is only one command: /attred. Syntax:
- /attred list - List attributes of the item in your hand. If no attributes are set, default attributes will be listed.
- /attred add [args] - Add an attribute. With tab completion.
- /attred remove - Remove all set attributes from the item in your hand, effectively resetting the item to its default vanilla values.
- /attred add generic.attackDamage 12.35 slot=head uuidMost=13 uuidLeast=37 op=ADD_NUMBER name=your.plugin.attackDamage
- /attred add generic.attackDamage 12.35
Permissions
There is only one permission for the main command.
- attred.attred - Use the /attred command. (Default op)
Older versions
- 1.12.2-backport: AttributeEditor.jar
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.13
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
AttributeEditor is a free Minecraft Java mod. Compatible with Minecraft 1.13. Downloaded 844 times (via Spigot). Download it and open it directly in the game.