FallingBlock clips into block underneath below Y0
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem?
There is an issue since 1.18 where entities such as tnt and fallingBlock will clip into the block below after they've been shot down. For example sand getting shot down will end up at y-7.00000000001 instead of y-7, causing it to not turn solid but to just break. I have a video demonstrating this.
/summon minecraft:falling_block -9 1.2074466562545139 9 {Motion:[0d,-10d,0d]} this is the command used to replicate the issue easily in vanilla.
Describe the solution you'd like.
It would be nice if there was an option to fix this, in case Mojang/Microsoft doesn't. A fix could be checking if a rounding error happened, and then changing the entity position to properly stack if necessary.
Describe alternatives you've considered.
https://bugs.mojang.com/browse/MC-261789 I made this bug report, but was told it might be a good idea to write a feature suggestion for Paper as well.
There are also a few ways to work around the issues by using different cannoning techniques but they all have big downsides.
Other
https://youtu.be/3qaBCarFNPM this video I mentioned in the first part; shows the bug
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is named. Start by reproducing the issue with the provided /summon minecraft:falling_block command and trace the falling-block collision or position handling; done means the entity no longer clips below Y0 and the sand becomes solid at the expected block position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100