Mojira Archive
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 [Mod] Neko: (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.

Fixed

iFuzion77

ProfMobius (Thomas Guimbretiere)

2016-08-17, 09:05 PM

2016-08-30, 05:07 PM

2016-08-30, 01:02 PM

5

6

Confirmed

cake, hitbox, offset

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

Minecraft 16w35a