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.

Related issues

Attachments

Comments

migrated
[media]
[Mod]Les3awe

This issue relates to MC-96195

marcono1234

Confirmed for

  • 16w14a

marcono1234

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.

Avoma

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 ~
Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Video attached.

Avoma

Can confirm in 21w07a.

Avoma

Can confirm in 21w11a.

Codexe

Can confirm in 21w15a

isXander

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

Brain81505

Can confirm in 23w06a

migrated

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, ..., 25w05a, 25w09b, 1.21.5 Release Candidate 1, 1.21.5, 25w17a

Retrieved