mojira.dev
MC-71779

Minecarts snapping to rails don't instantly update client-side hitbox

To reproduce, summon a minecart a block or so above a rail block and look where its hitbox is. See attached screenshot.

Linked issues

Attachments

Comments 6

Confirmed for

  • 1.8.6 It seems like a client side issue. The hitbox is valid as you can for example right click it and will be the same position of the Minecart hitbox. However after about one minute the server seems to realize it as well and "corrects" the hitbox.

This is most problematic for Minecarts riding another entity:

Example command

/summon MinecartCommandBlock ~ ~1 ~ {Command:/setblock ~ ~ ~ glass,Riding:{id:ArmorStand,Riding:{id:FallingSand,Time:1,Block:activator_rail,Riding:{id:FallingSand,Time:1,Block:redstone_block}}}}

This will summon a MinecartCommandBlock riding an ArmorStand riding an Activator Rail riding a Redstone Block. The command of the Minecart is "/setblock ~ ~ ~ glass". You will see that the Minecart executes the command and replaces the Activator Rail with Glass.

This has also strange effects when the minecart is falling onto a rail. See #MC-108595

Confirmed in 1.15.2 and 20w22a.

Can confirm in 1.17.1.

Can confirm in 24w04a:

[media]

Considering that redstonehelper has been inactive since 2018, it if would be helpful I can take over maintaining this issue.

Fixed in the 24w34a experimental minecart snapshot.

[Mod] redstonehelper

(Unassigned)

Confirmed

Platform

Low

Minecart

experimental_minecart_fixed, hitbox, minecart, rail

Minecraft 1.8, Minecraft 1.8.6, Minecraft 15w39c, Minecraft 15w40b, Minecraft 1.10.2, ..., 1.16.4, 1.16.5, 1.17.1, 1.20.4, 24w04a

Retrieved