[SPIGOT-1916] Attributable ItemStack Created: 13/Mar/16  Updated: 21/Sep/18  Resolved: 21/Sep/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: PunKeel Assignee: Unassigned
Resolution: Fixed Votes: 7
Labels: 1.9, Craftbukkit, nbt


 Description   

Hello,

I've seen the new Attribute API and love it, but I wondering why ItemStacks do not implement "Attributable"

In order to make this possible, I think one modifications is required :

  • Add an AttributeSlot enum

And, of course, the NBT side of this ...



 Comments   
Comment by Senmori [ 21/Sep/18 ]

Merged: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/cbb4fc1673f278d61b5238df15aa1a1fb69655cc

Comment by Phoenix616 [ 07/Sep/18 ]

For anyone wondering about the state of attributes for item stacks: There is a currently a PR in the works to add that which is looking pretty promising: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/364/

Comment by Brokkonaut [ 14/Nov/17 ]

Whats the state of this? There are pull requests for Bukkit/CB for a long time now, but no change requests or any other reply from the spigot team.

So if there is nothing that should be changed - why not pull it? This API would be really important to have...

Comment by kukelekuuk [ 21/Jun/16 ]

Is there any word on this? My third party dependency to get attributes for itemstacks hasn't updated in some time. I'd love to finally see this function in spigot.

Generated at Thu Apr 03 16:05:33 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.