DenizenScript / Denizen

NPC and general Spigot scripting, using the Denizen Scripting Language!
https://denizenscript.com/
MIT License
213 stars 106 forks source link

`1.21` Attribute modifiers updates #2637

Closed tal5 closed 1 week ago

tal5 commented 3 months ago

Changes

Additions

[!NOTE] The way slot_groups are represented there isn't great - it works, but you can't really do anything with them other then knowing their name (e.g. mainly checking if they contain a slot); The only way I can really see to cleanly solve this is a EquipmentSlotGroup tag, but lmk what do you think.

[!NOTE] Not sure if the tern-in-if in I did in remove_attribute_modifiers mechanisms is the best approach? seemed nicer then having both if statements.