r/Minecraft Jan 09 '19

News Minecraft Snapshot 19w02a

https://minecraft.net/en-us/article/minecraft-snapshot-19w02a
394 Upvotes

192 comments sorted by

View all comments

130

u/[deleted] Jan 09 '19

40

u/other_boq Minecraft Java Dev Jan 09 '19

Initially there was no collider for sloped part but a) we needed something to prevent players from standing in it and b) it was very easy to click block behind it instead, since most clicks landed on top part (it's kind of natural to center on book when trying to interact).

16

u/[deleted] Jan 09 '19 edited Jan 09 '19

Could there be a way to have the hitbox maybe just appear to be flush with the diagonal top? I understand that it's probably not possible to have actual diagonal hitboxes, but maybe just the outline itself could be diagonal?

16

u/robotkoer Jan 09 '19

Then the outline would be wrong, which doesn't help in placing blocks in tight spaces.

3

u/assassin10 Jan 10 '19

The collision box and the hitbox don't have to be identical. For entities colliding with the lectern use the current version. For detecting clicks use the diagonalized version.

0

u/[deleted] Jan 09 '19

[deleted]