Boats, boat with chest, bamboo raft or bamboo raft with chest travel fast on mobs.
Mob type:
Boat
Boat with chest
Bamboo raft
Bamboo raft with chest
Minecart(all)
Armor Stand
End CrystalShulker
Falling Sand / AnvilNoAI mobs
Players
Code analysis by @unknown can be found in this comment.
Linked issues
is blocked by 1
relates to 2
Attachments
Comments 15
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 ~
This issue relates to MC-96195