Moonrise

Moonrise

13.8k Downloads

Anvil in y=0 turns to item when falling

Spottedleaf opened this issue ยท 1 comments

commented

Minecraft Version

1.21.3

Moonrise Version

0.2.0-beta.5

Mod Loader

Both (NeoForge and Fabric)

Logs and Crash Reports

Not relevant

Additional Context

Expected behavior

In vanilla Minecraft, a placed anvil block will fall down if there is no blocks below itself, it will then stopped on a solid block, or it will turn into an item if the block below is not a solid block such as slabs.

Observed/Actual behavior

In foliamoonrise, when anvil is placed at Y=0 and it fall down, the anvil will turn into item.

Steps/models to reproduce

Place anvil like this, left side works normal, right side have problem.

image

Video recorded in production server by player. Same problem have been confirmed in a newly created folia test server with no plugins and default config files
https://github.com/PaperMC/Folia/assets/136877036/793a63f1-125c-4fbe-9ea0-6858f0ea7888

commented

Caused by offsetting the input box by the VoxelShape offset rather than offsetting the VoxelShape coordinates in CollisionUtil#collideXYZ