-
Bug
-
Resolution: Fixed
-
Minecraft 16w04a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12.2, Minecraft 18w05a, Minecraft 1.14, Minecraft 1.14.1, 20w14a, 1.16.1, 20w28a, 1.16.3, 1.16.4, 20w46a, 20w48a, 21w05b, 21w06a, 21w13a, 1.17 Pre-release 1, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19 Pre-release 3, 1.19 Release Candidate 2, 1.19, 1.19.1 Pre-release 5, 1.19.2, 22w42a, 22w45a, 1.19.3, 1.20, 1.20.1, 23w44a
-
None
-
Confirmed
-
Collision
-
Important
-
Platform
The bug
A boat will glitch / sink through blocks when it falls onto shallow water (see screenshot for setup to reproduce glitch or 3 Glitches with Boats- 1.12 Vanilla Survival)
How to reproduce
- Grab a boat
- Create setup shown in screenshot
- Speed up using 'W' and move towards the waterfall. once you fall on the floor below, you will sink/glitch through the ground, as shown in the video here: https://www.youtube.com/watch?v=Q8mtxsNCOAE
Code analysis
Based on 1.12.2 decompiled using MCP 9.40
It appears the call to Entity.setPosition(double, double, double) in the method net.minecraft.entity.item.EntityBoat.updateMotion() is causing this:
if (this.previousStatus == EntityBoat.Status.IN_AIR && this.status != EntityBoat.Status.IN_AIR && this.status != EntityBoat.Status.ON_LAND) { this.waterLevel = this.getEntityBoundingBox().minY + (double)this.height; // The following line appears to be causing the bug this.setPosition(this.posX, (double)(this.getWaterLevelAbove() - this.height) + 0.101D, this.posZ); this.motionY = 0.0D; this.lastYd = 0.0D; this.status = EntityBoat.Status.IN_WATER; }
It is unknown if leaving this out solves this bug without causing any other problems.
- is duplicated by
-
MC-96382 Boat sinking into ground from water_bucket flow
- Resolved
-
MC-104599 Boats Fall Through The Floor
- Resolved
-
MC-128546 boat glitch when going too fast
- Resolved
-
MC-151870 Boats can clip through blocks when falling into flowing-water
- Resolved
-
MC-177486 boats glitch in the ground when falling into flowing water
- Resolved
-
MC-197353 Boat slid into ground after dismounting
- Resolved
-
MC-201953 Boats can fall through blocks when pushed into flowing water
- Resolved
-
MC-214961 Boat falls through the floor on certain turns
- Resolved
-
MC-215403 The player sunk into the ground while boating in a cave
- Resolved
-
MC-222097 sinking boat
- Resolved
-
MC-226801 Sometimes riding a boat in flowing water causes you to get stuck in blocks for a moment
- Resolved
-
MC-229766 Boat sinks through blocks
- Resolved
-
MC-230069 Boat getting stuck
- Resolved
-
MC-234154 Boat able to phase through blocks
- Resolved
-
MC-244101 Boat when placed on water went into the ground
- Resolved
-
MC-246979 cats in boat in flowing water descend into block below and suffocate
- Resolved
-
MC-249024 Boat disappears when on water above soul sand
- Resolved
-
MC-251769 Boat Sinks in falling flowing water
- Resolved
-
MC-252322 Boats clip through blocks
- Resolved
-
MC-252746 Sinking through block when on a boat
- Resolved
-
MC-253700 the boat gets stuck in blocks
- Resolved
-
MC-253981 Glitch with boat and flowing water
- Resolved
-
MC-254233 Oak Boat with Chest sinks under the water while you are on fire.
- Resolved
-
MC-256565 Bamboo Raft Clipping through blocks under flowing water stream
- Resolved
-
MC-256676 New bug in 1.19.3 snapshot
- Resolved
-
MC-257274 Boats move through solid floor if falling onto shallow water
- Resolved
-
MC-257568 Boat adios in 13 cm deep water (falls through blocks)
- Resolved
-
MC-258764 Boats become unable to move and will sink into the ground if you drive it from plane of water. It will not sink into the ground untill you leave the boat.
- Resolved
-
MC-263380 The boat sinks when it encounters downward flowing water and cannot be ridden
- Resolved
-
MC-263572 boat glitch in ground
- Resolved
-
MC-264435 Boats go thru floor
- Resolved
-
MC-266381 The ship got stuck in the soil
- Resolved
- relates to
-
MC-130734 Boats and boats with chest are very glitchy in bubble columns
- Open
-
MC-122493 Boats fall through blocks when slightly intersecting with water
- Resolved