Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-106300

Cake hitbox appears at 0,0,0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 16w35a
    • Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a
    • Windows 10, Java Version 8 - Update 101. Other info in the second screenshot.
    • Confirmed

      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 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.

        1. 2016-08-26_23.32.54.png
          140 kB
          [Mod] Neko
        2. 2016-08-26_23.33.00.png
          123 kB
          [Mod] Neko
        3. 2016-08-26_23.33.14.png
          152 kB
          [Mod] Neko
        4. 2016-08-27_11.33.57.png
          199 kB
          [Mod] Les3awe
        5. cake_1.png
          86 kB
          iFuzion77
        6. cake_2.png
          304 kB
          iFuzion77
        7. cake_3.png
          283 kB
          iFuzion77

            ProfMobius ProfMobius (Thomas Guimbretiere)
            iFuzion77 iFuzion77
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: