+Added Aggrobaiting Enchantment
(This feature is currently in beta and may not work as intended)
Right click while holding an item enchanted with Aggrobaiting will trigger its effects
+Added Config File
Bait Level - Amount of aggro applied by the effects of Aggrobait
eg. A Bait Level of 5.0 is equivalent to aggro accumulated by punching it 5 times Scale bait level - Should Bait level scale with Enchantment Level.
eg. Aggrobaiting V will apply 5x more aggro and Aggrobaiting I Bait Cooldown - The amount of Ticks an Aggrobait item will be on cooldown for.
Bait Range - The distance the Aggrobaiting Enchant will work.
Inclusive Tiers - Aggrobaiting will work on any lower leveled entities
+Use of Datapacks
The creatures Aggrobaiting will attract is modifiable via datapack.
Entities tagged with aggrobait_n will be affected by Aggrobaiting n.
eg. If an entity is tagged in aggrobait_2 then when using an item with Aggrobait II an aggro of 10(if scale bait level is true) will be applied to the Entity. If Inclusive Tiers is true then any entity tagged with aggrobait_1 will also be affected. (Untested: in theory you can have as many different tags as there are enchantment levels)
Improved aggro selection algorithm efficiency(O(nlogn)->O(n)) Sorry for the long wait guys T^T