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

When you jump and place a fence post under you you will get inside the fence post

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.5, Minecraft 1.5.1, Minecraft 14w04a, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 14w21b, Minecraft 1.8, Minecraft 1.8.1-pre2, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 15w49b, Minecraft 1.12 Pre-Release 7, Minecraft 1.12.2
    • Fix Version/s: Minecraft 17w50a
    • Confirmation Status:
      Confirmed

      Description

      The bug

      When you jump and place a fence post under you you will get inside off the fence post.

      Note: This works correctly for fence gates and cobblestone walls.

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The class BlockFence is not overriding the method net.minecraft.block.Block.getCollisionBoundingBox(IBlockState, IBlockAccess, BlockPos) and therefore returns the hitbox instead of the collision box.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dvdpoweron David
              • Votes:
                11 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: