File Details
API 5.2.17 (Not a Plugin)
- B
- Aug 22, 2021
- 19.92 KB
- 205
- 1.17+5
File Name
PlayerHeads-api-5.2.17-SNAPSHOT.jar
Supported Versions
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.10
PlayerHeads 5.2.17 API Additions:
- API Addition: HeadRollEvent:recalculateSuccess() can now take one argument allowing you to control whether modifiers are reapplied (recalculating the effective droprate).
- API Addition: HeadRollEvent:setCustomModifier() now has an additional argument allowing forcing recalculation immediately.
- API Change: HeadRollEvent:setEffectiveDropRate was deprecated as a warning that other methods (such as recalculation) tend to overwrite the value.
- API Addition: new droprate modifier types:
- SET_CONSTANT - allows setting the droprate to a constant value and erasing the effects of previous modifiers
- NO_EFFECT - allows adding a modifier without an effect on the droprate. This can be used as a form of recordkeeping or a toggled-off modifier by developers
- SET_CONSTANT - allows setting the droprate to a constant value and erasing the effects of previous modifiers
This API should remain completely compatible with previous versions, deprecation warnings notwithstanding.
Documentation: https://crashdemons.github.io/PlayerHeads/
Instructions on using as a maven dependency can be found on the 4.10.0 API page.