mojira.dev
MC-99307

Boats, boat with chest, bamboo raft or bamboo raft with chest travel fast on mobs

Boats, boat with chest, bamboo raft or bamboo raft with chest travel fast on mobs.

Mob type:

  1. Boat

  2. Boat with chest

  3. Bamboo raft

  4. Bamboo raft with chest

  5. Minecart(all)

  6. Armor Stand

  7. End Crystal

  8. Shulker

  9. Falling Sand / Anvil

  10. NoAI mobs

  11. Players


Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 15

This issue relates to MC-96195

Confirmed for

  • 16w14a

Please link to this comment in the description

The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.

The reason why this happens is because the boat is treated as if it is in air, which means its motion factor is set by the method net.minecraft.entity.item.EntityBoat.func_184450_w() to 0.9, which is also used by water. A new net.minecraft.entity.item.EntityBoat.Status called for example ON_ENTITY would be probably required to solve this.

Can confirm in 20w48a. Here's some commands to help reproduce this bug.

/summon minecraft:creeper ~ ~ ~ {NoAI:1}
/execute at @e[type=creeper,sort=nearest,limit=1] run summon boat ~ ~2 ~

Can confirm in 21w03a.

5 more comments

Can confirm in 21w11a.

Can confirm in 21w15a

This is probably to do with the drag present in water that isn't present on land.

Can confirm in 23w06a

Can confirm in 1.19.4 Pre-release 1.

[Mod]Les3awe

(Unassigned)

Confirmed

Collision, Entities

boat, mob

Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, ..., 25w09b, 1.21.5 Release Candidate 1, 1.21.5, 25w17a, 1.21.6 Pre-Release 3

Retrieved