Releases: CleverNucleus/playerex
PlayerEx
Bugfixing update:
-Reduced Limit#maxValue for Dexterity from 4.0 to 2.0.
*Attack Speed gained from Dexterity is now diminishing.
*Fixed Modifiers from MAINHAND items not being synced to the client.
*Fixed NullPointerException from EventHandler#onLivingLoot [363]
+Incremented version to 1.1.6.
PlayerEx
+Resolved all known issues/bugs.
PlayerEx
*Fixed death screen openGL error due to overlay.
*Fixed applying/removing modifiers to attributes that influence other attributes not influencing the other attributes:
+Added new registry: modifier registry. Similar to adders, this allows devs to hook into when a modifier is applied to an attribute and run extra code (such as applying the same modifier to other attributes).
+Added TriFunction functional interface (needed to keep the modifier registry tidy/efficient).
+Added helper methods Util#apply to allow for attribute modifier values to be converted to diminishing returns values.
*IPlayerAttributes#applyModifier and removeModifier now return IPlayerAttributes (allows for chaining).
+Incremented version to 1.1.4.
PlayerEx
+Updated some method docs.
+Added a Limit class: Limit holds four values - increment, minimum, maximum and weight.
*Attributes now require a Limit when constructing/building.
By itself attribute limits do not have any functionality. They only exist so that mods that wish to introduce a chance/value system do not have to assign values (like random weight). This also introduces the added benefit of greater compatibility between dependent mods
PlayerEx
This first release contains a fully fledged API and content mod for Minecraft 1.16.4 [FORGE]. Detailed docs coming soon, as well as future incremental releases.