TogAr2

Results 12 issues of TogAr2

Placing a block above the dimension height limit causes an exception: ``` java.lang.ArrayIndexOutOfBoundsException: Index 24 out of bounds for length 24 at java.base/java.util.ImmutableCollections$ListN.get(ImmutableCollections.java:680) at net.minestom.server.instance.DynamicChunk.getSection(DynamicChunk.java:109) at net.minestom.server.instance.Chunk.getSectionAt(Chunk.java:93) at net.minestom.server.instance.DynamicChunk.setBlock(DynamicChunk.java:71) at...

This pull requests adds a `PlayerGameModeChangeEvent`.

The property "level" of fluid blocks is sent inverted to the client. This is supposed to be a water stream with level values gradually going down, but instead they are...

This pr generalizes the food code in `Player` and `UseItemListener` to also allow for non-food items to have a usage duration specified beforehand. While this does make `PlayerPreEatEvent` and `PlayerEatEvent`...

1.21 added several features and fixes related to combat - [ ] Mace - [ ] Mace enchantments - [ ] Wind breeze - [ ] New wind charged potion...

Support for flying with elytra (e.g. taking less fall damage, crashing into walls)

Vanilla recently added `EquipmentSlot.BODY`, and since the equipment packet works by using enum ordinals, it has to be present in the Minestom enum as well. This new equipment slot is...

This pull request will add support for more enchantment effects and other functions which have recently been added in the 1.21 update.

When using `EntityPreDeathEvent#setCancelDeath(true)` and immediately respawning the player afterwards, they will still take knockback