mojira.dev
MC-96753

Elytra collision test is larger than hitbox

The bug

The area in which the collision of the player and a block is tested while a player is flying seems to be larger than the hitbox of the player.

The attached screenshot shows the moment in which the game claims the player collided with the wall.

How to reproduce

  1. Use this compacted command

    /setblock ~ ~1 ~ standing_sign 8 replace {Text1:"{\"text\":\"Click\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/summon armor_stand ~ ~10 ~ {NoGravity:1b,Tags:[\\\"elytraMarker\\\"]}\"}}",Text2:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~ ~4 ~8 sandstone\"}}",Text3:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/replaceitem entity @p slot.armor.chest elytra\"}}",Text4:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~ ~ ~ standing_sign 8 replace {Text1:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"1. F3 + B\\\\\\\",\\\\\\\"clickEvent\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"run_command\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"/tp @p @e[type=armor_stand,tag=elytraMarker,c=1]\\\\\\\"}}\\\",Text2:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"2. F5 (1st)\\\\\\\",\\\\\\\"clickEvent\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"run_command\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"/tp @p 0 20\\\\\\\"}}\\\",Text3:\\\"[\\\\\\\"3. click again\\\\\\\"]\\\",Text4:\\\"[\\\\\\\"\\\\\\\"]\\\"}\"}}"}
  2. After about one second press the space bar to start flying

Linked issues

Attachments

Comments 7

Confirmed for 1.9.1-pre2
Due to space activation, the command reproducion doesn't work

Confirmed for 1.9.3-pre1

Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.

This is an automated comment on any open or reopened issue with out-of-date affected versions.

Confirmed for 17w06a

Confirmed for 17w17b

Can't reproduce anymore in 20w07a.

Cannot reproduce either using the updated command

/setblock ~ ~1 ~ birch_sign{Text1:"{\"text\":\"Click\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/summon armor_stand ~ ~10 ~ {NoGravity:1b,Tags:[\\\"elytraMarker\\\"]}\"}}",Text2:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~ ~4 ~8 sandstone\"}}",Text3:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/replaceitem entity @p armor.chest elytra\"}}",Text4:"{\"text\":\"\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~ ~ ~ oak_sign{Text1:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"1. F3 + B\\\\\\\",\\\\\\\"clickEvent\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"run_command\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"/execute at @e[type=armor_stand,tag=elytraMarker,limit=1] run tp @p ~ ~ ~ 0 20\\\\\\\"}}\\\",Text2:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"2. F5 (1st)\\\\\\\"}\\\",Text3:\\\"[\\\\\\\"3. click again\\\\\\\"]\\\",Text4:\\\"[\\\\\\\"\\\\\\\"]\\\"} replace\"}}"}

marcono1234

(Unassigned)

Confirmed

(Unassigned)

collision, collisionboxes, elytra, flying, hitbox

Minecraft 16w05b, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w17b

Retrieved