arcanumlib-1.21.1-0.2.1.jar
Curse Maven Snippet
What's new
# Changelog - 1.21.1-0.2.1
## English
### Seeking
- The Seeking bonus is now rolled by probability instead of being rounded: the integer part always applies and the fraction has that chance to add one more point (base weight 7 with Seeking 0.5 gives +3 always and +1 with a 50% chance, 3.5 on average).
- Seeking is refreshed once per tick and cached, so mob spawning no longer scans every player on every attempt; with nobody using Seeking the check is effectively free.
### Attribute Adjustment
- Added a new attribute adjustment event (`LivingGetAttributeAdjustmentEvent`): listeners can pick any entity and any attribute and write temporary adjustments, which are applied only for the duration of the current damage, attack or loot resolution.
- Five operations are supported: `ADD_VALUE`, `ADD_MULTIPLIED_BASE`, `ADD_MULTIPLIED_TOTAL`, `ADD_FINAL` and `SET_VALUE` (NaN means "do not replace").
- Adjustments are applied around the attack flow, the hurt flow, damage resolution and loot resolution, each with its own context.
- Attributes carrying the `arcanumlib:ignore_attribute_multiplier` tag are excluded from the all-attribute multiplier (movement speed and jump strength by default).
### New attributes
- `arcanumlib:damage_multiplier` — multiplies the damage you deal (default 100%).
- `arcanumlib:damage_taken_multiplier` — multiplies the damage you take (default 100%).
- `arcanumlib:all_attribute_multiplier` — modifies most of your attributes (default 100%).

