mojira.dev
MC-106300

Cake hitbox appears at 0,0,0

The Bug
The cake hitbox is not visible when looking at it. Instead, the hitbox appears at 0, 0, 0. (Shown in screenshots)

Fix from @unknown: (Based off of Minecraft 1.10, MCP 9.30)

BlockCake.java

//This issue can be fixed by simply removing this method
    //There are no negative side effects from removing this as far as I can tell
    public AxisAlignedBB getSelectedBoundingBox(IBlockState state, World worldIn, BlockPos pos)
    {
        return state.getCollisionBoundingBox(worldIn, pos);
    }

Pictures with fix applied.

Attachments

Comments 3

Can confirm, the hitbox doesn't even get rendered in general, go inside in gamemode 3, go to another gamemode, while you're with the head in the block, you'll see no outline, unlike other transparent blocks.

-Turns out the hitbox is just shown at the wrong place (-x -y z offset) see MC-106539.

Edit:
I'm dumb, said report uses cracked version.

Still happens on non-cracked versions. The outline is just at (0, 0, 0), just like MC-106539
http://imgur.com/a/Xarmm

iFuzion77

migrated

Confirmed

cake, hitbox, offset

Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a

Minecraft 16w35a

Retrieved