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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 17w50a
    • 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
    • Confirmed

      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.

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

              Created:
              Updated:
              Resolved:
              CHK: