oliverdunk
- oliverdunk
- JIRAUSER775586
- Europe/Stockholm
- Yes
- No
The bug
When a boat or raft (with or without chest) falls for certain distances, it crashes when hitting the floor, breaks, and drops three planks and two sticks.
This is known to happen when falling exactly 12, 13, 49, 51, 111, 114, 198, 202, 310 or 315 blocks.
Additionally, for some distances, all passengers in the boat die instead of the fall damage being negated as usual. A passenger inside of the boat makes this bug less reliable to reproduce.
To reproduce
- On a flat surface, run /setblock ~ ~48 ~ stone
- /tp @s ~ ~49 ~
- Place a boat on the stone block
- Enter the boat
- Switch into survival mode
- Press forward
→
You die and the boat breaks
It is also possible to reproduce this by breaking the block below the boat instead of driving it off.
Notes
- For some heights, no fall damage is dealt.
- For some heights, the boat only breaks when dismounting it.
- For boats with chests, the inside contents are destroyed (
MC-249501).
Videos
- Video by Jeremy: https://www.youtube.com/watch?v=hxRrGLiVFqA
- Mathematical analysis by Matt Parker and oliverdunk: https://www.youtube.com/watch?v=ei58gGM9Z8k
MC-122968
Code analysis
Code analysis by [Mod] Avoma can be found in this comment.
Hey ampolive! I helped Matt (who made the video) with testing this and understanding the decompiled code. As you mentioned, the easiest way to reproduce is using the summon command or placing a boat on a floating block and breaking it, without riding as a passenger. Vehicle mechanics when there’s a passenger seem to change things, but I could still cause player damage when riding the boat if it was dropped from 49 or 51 blocks - and then I moved forward a little on the ground or dismounted, depending on the version.
I haven’t tried in the latest snapshot but if nobody beats me (I’m sure they will!) I can try some of these variants and report back tomorrow.