-
Bug
-
Resolution: Fixed
-
Minecraft 1.8.4, Minecraft 1.8.6, Minecraft 15w36d, Minecraft 15w45a, Minecraft 15w49a, Minecraft 15w49b, Minecraft 15w50a, Minecraft 15w51a, Minecraft 15w51b, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.2, Minecraft 16w15b, Minecraft 1.9.4, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w48a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w06a, Minecraft 18w09a, Minecraft 18w14b, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 19w02a
-
Confirmed
Game Output
[16:57:52] [Client thread/ERROR]: Null returned as 'hitResult', this shouldn't happen! [16:57:52] [Client thread/WARN]: Null returned as 'hitResult', this shouldn't happen!
How to reproduce
- Go to a wall which has at least 6 (+1 where you should stand) ladders below or above you
- Click the mouse
- Observe that the item in your hand is not swung, and that a warning is printed in the log
Affects all blocks that allow you to stand in them and punch without hitting them, including:
- Ladders
- Vines
- Iron bars
- Glass panes
- Portal blocks
- ...
Not restricted to only the vertical axis - can also happen when looking sideways.
Code analysis
Code analysis by marcono1234 can be found in this comment.
- is duplicated by
-
MC-80091 hitResult Null on ladder
- Resolved
-
MC-89132 Unable to swing hand on ladder facing up or down (while no entity or block is in focus)
- Resolved
-
MC-101003 If look ray doesn't intersect any block's collision box or pass through an un-collidable block, Minecraft.objectMouseOver is null
- Resolved
-
MC-135538 Hitting upwards when riding a ladder and or facing otherwise near a destroyable block either breaks the block and or sends NPEs
- Resolved
-
MC-142328 null returned as hitResult
- Resolved
- relates to
-
MC-107103 Trying to interact with entity 3 or more blocks away without seeing its eyes only interacts client-side
- Resolved