We now fire ChangeDataHolderEvent.ValueChange for entities when plugins offer data if the entity is spawned in the world. Limiting this to entities only should make this fairly more simpler and we can later expand on the support for more potential use cases.
Supporting this for item stacks is a bit problematic as it can be literally anywhere but they do have reference to a potential entity holder which we could use to check against whatever its worthwhile.
We now fire
ChangeDataHolderEvent.ValueChange
for entities when plugins offer data if the entity is spawned in the world. Limiting this to entities only should make this fairly more simpler and we can later expand on the support for more potential use cases.Supporting this for item stacks is a bit problematic as it can be literally anywhere but they do have reference to a potential entity holder which we could use to check against whatever its worthwhile.
cc @gabizou api8/all-key-value-changes