3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-03 08:21:06 +02:00
Geyser/core
YHDiamond fbd157ccdf
Add Attribute Modifiers Display (#3728)
* Add Attribute Modifiers Display

Allows Bedrock players to view the Attribute modifiers display on the bottom of items.

* Fix handling for Knockback Resistance

For some reason, Knockback Resistance is multiplied by 10 in the display for addition, so this handles that oddball.

* Add null check for NBT

* Remove "contains" check

This is checked in the beginning of the addAttributes method so is not required here.

* Add curly brackets

Camotoy likes curly brackets I guess

* Use ModifierOperation enum instead of int for clarity
2023-05-16 14:54:34 -05:00
..
src Add Attribute Modifiers Display (#3728) 2023-05-16 14:54:34 -05:00
build.gradle.kts Fix events not being included 2023-04-22 19:53:46 +01:00