[MC-1635] Hitboxes for some blocks are broken Created: 01/Nov/12  Updated: 08/May/16  Resolved: 15/Sep/15

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.3, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w03a, Snapshot 13w07a, Snapshot 13w10b, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w21b, Snapshot 13w22a, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.7.6-pre1, Minecraft 1.7.6-pre2, Minecraft 1.7.9, Minecraft 14w19a, Minecraft 14w21b, Minecraft 14w26b, Minecraft 14w26c, Minecraft 1.7.10, Minecraft 14w27a, Minecraft 14w27b, Minecraft 14w28b, Minecraft 14w29a, Minecraft 14w29b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w32a, Minecraft 14w33c, Minecraft 14w34a, Minecraft 14w34b, Minecraft 14w34d, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.2, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.5, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w35e, Minecraft 15w36c, Minecraft 15w37a
Fix Version/s: Minecraft 15w38a

Type: Bug
Reporter: Wolf Clément Assignee: [Mojang] Grum (Erik Broes)
Resolution: Fixed Votes: 75
Labels: anvil, chest, hitbox, ironbar

Attachments: PNG File 2013-03-08_20.05.57.png     PNG File 2013-03-08_20.06.16.png     JPEG File javaw 2013-03-15 13-40-50-33.jpg     JPEG File javaw 2013-03-15 13-40-53-94.jpg    
Issue Links:
Duplicate
is duplicated by MC-5563 I was playing on a server and I jumpe... Resolved
is duplicated by MC-7629 Hitboxes of blocks with orientation d... Resolved
is duplicated by MC-7856 Chests - clipping Resolved
is duplicated by MC-8410 Can walk inside stacked chests Resolved
is duplicated by MC-9785 Jumping toward 2 stacked double chest... Resolved
is duplicated by MC-10051 Chest Bug Resolved
is duplicated by MC-10219 possible to go trouch chests. Resolved
is duplicated by MC-11404 Jump glitch when walking into chest f... Resolved
is duplicated by MC-13263 mobs getting stuck in chests Resolved
is duplicated by MC-14177 chest glitch Resolved
is duplicated by MC-15964 Can walk diagonally between chest cor... Resolved
is duplicated by MC-16956 Jumping bug with chest Resolved
is duplicated by MC-17065 Stuck in a Chest, If you jump against it Resolved
is duplicated by MC-28112 Wolves can go through/into blocks, es... Resolved
is duplicated by MC-29109 When you walk at a set of 3 double ch... Resolved
is duplicated by MC-36424 Anvils/chest(any non-block entity) co... Resolved
is duplicated by MC-37702 Chest Bug Resolved
is duplicated by MC-38387 Chest Hitbox Resolved
is duplicated by MC-42874 Pass through chests Resolved
is duplicated by MC-44885 Ability to walk through chests Resolved
is duplicated by MC-52531 Glitch while jumping on chest. Resolved
is duplicated by MC-56290 Walk through chests Resolved
is duplicated by MC-65485 Walking into block against chest caus... Resolved
is duplicated by MC-67391 I Can Walk Into Anvils Resolved
is duplicated by MC-73215 Able to glitch into chests Resolved
is duplicated by MC-77051 Zombie Chest Glitch Resolved
is duplicated by MC-81233 Baby mobs can glitch through chests Resolved
is duplicated by MC-81346 Broken Hitboxes for Anvil Blocks Resolved
is duplicated by MC-81946 Chest climbing Resolved
is duplicated by MC-87797 Anvil box bug Resolved
is duplicated by MC-89383 amor stand falling trought a slab Resolved
is duplicated by MC-92426 Large Chest side glitch Resolved
is duplicated by MC-98325 bugging into chest Resolved
is duplicated by MC-1669 Possible to walk through two perpendi... Resolved
is duplicated by MC-3037 When standing, walking, or running on... Resolved
is duplicated by MC-3793 Glitch through chests. Resolved
is duplicated by MC-5300 It is possible to go inside chests Resolved
Relates
relates to MC-73302 Block collision box issues (mobs glit... Resolved
relates to MC-9861 Stuck in pistons depending on camera ... Resolved
relates to MC-88847 Upside-down Stairs are messed up. Resolved
relates to MC-88863 Cobblestone Walls collision box messe... Resolved
relates to MC-88870 Flowers hitboxes are too big Resolved
CHK:
Confirmation Status: Community Consensus
Game Mode: Creative

 Description   

The hitbox of some blocks (chests, anvils) are not correctly registered and you can get stuck, or at least trigger a client/server desync while walking/jumping into sides of those blocks.

Steps to reproduce changed with the updates, but the glitch still exists. Here is a detailed explanation :

http://www.youtube.com/watch?v=y1kon5Wax8I

Steps to reproduce :



 Comments   
Comment by Wulfdao [ 11/Sep/15 ]

Still exists on 15w37a.

Comment by Wulfdao [ 03/Sep/15 ]

Still exists in 15w36c.

Comment by Fenhl (Max Dominik Weber) [ 10/Aug/15 ]

Affects 1.8.8.

Comment by Wulfdao [ 23/May/15 ]

Still exists in 1.8.5.

Comment by branza [ 17/May/15 ]

@youtakun Try not to edit comments that much, it sends an email to everyone who's following this issue.

Comment by Mark Jeronimus [ 17/May/15 ]

I found a solid way to reproduce this and at least a starting point to look for the bug(s).

Walk up to a side of a double chest. Carefully tune your up/down viewing angle.

  • When angle is between 90 and 31.1, the hitbox starts at X.238 (≈3.8/16)
  • When angle is between -90 and 29.9, the hitbox starts at X.300 (=4.8/16)
  • When angle is between 29.9 and 31.1, you get stuck as the client and server disagree
  • Of course, when already at X.238, looking in any angle above 31.1 gets you stuck.

Sometimes, when the angle is between -90 and 27.1, the hitbox starts at X.238. I don't know what causes this. As soon as you get stuck, the hitbox resets to 0.300 for those angles.

With this, I suspect there are at least thrree bugs contributing to this:

  1. Hitbox size typo in one of the two places where it's defined,
  2. Angle-dependency that shouldn't exist,
  3. The client/server disagreement.

I suggest not immediate fixing the first bug (if is's correct), because that would mask the other bugs.

Comment by Wulfdao [ 18/Apr/15 ]

Still exists in 1.8.4.

Comment by Wulfdao [ 23/Feb/15 ]

Still exists in 1.8.3.

Comment by Wulfdao [ 04/Jan/15 ]

Still exists in 1.8.2 pre1.

Comment by [Mod] Sonicwave [ 10/Dec/14 ]

This one has more votes though and is 2 years older (making it easier/more "importance" for Mojang to see). Perhaps copy parts of that description to this one? (since that one is rather long)

Comment by yut951121 [ 10/Dec/14 ]

@Sonic The 'broken hitbox' this ticket is stating is basically same thing as MC-73302

Comment by branza [ 09/Dec/14 ]

No, Fenhl is right. MC-73302 is about a bad piece of code which causes this and a lot of other bugs.

Comment by Dlawso the Really Lucky Rabbit [ 09/Dec/14 ]

Fenhl, this one talks about broken hitboxes. That one talks about mobs glitching through blocks.

Comment by Fenhl (Max Dominik Weber) [ 09/Dec/14 ]

Why is this only marked as “relates to MC-73302”? It should be closed as duplicate.

Comment by Wulfdao [ 03/Dec/14 ]

Still exists in 1.8.1.

Comment by shawn greer [ 05/Sep/14 ]

still exists in 1.8

Comment by Wulfdao [ 21/Aug/14 ]

Still exists in 14w34d.

Comment by Wulfdao [ 18/Aug/14 ]

Still exists in 14w34b.

Comment by Wulfdao [ 07/Aug/14 ]

Still exists in 14w32a.

Comment by Wulfdao [ 30/Jul/14 ]

Still exists in 14w31a.

Comment by Wulfdao [ 19/Jul/14 ]

Still exists in 14w29b.

Comment by Wulfdao [ 11/Jul/14 ]

Still exists in 14w28b.

Comment by Wulfdao [ 02/Jul/14 ]

Still exists in 14w27b.

Comment by Wolf Clément [ 01/Jul/14 ]

Still affects 1.7.10 & 14w26c, but the glitch is now rarely triggered by the player. Updated steps to reproduce.

Comment by Carl Fürstenberg [ 08/May/14 ]

Still confirmed for 14w19a

Comment by Gustavo Smith Buschle [ 01/Feb/14 ]

http://www.youtube.com/watch?v=p-8G_R8tLr4
I have made a video showin how to consistently recreate this issue.
First you start walking against the chest,
then you look at any chest, you should start jittering,
then look away from the chest, you should have gone through
Tested in 14w04b

Comment by fienxjox [ 16/Jan/14 ]

Seems much reduced in 14w02c but still partially reproducible with anvils.

Comment by fienxjox [ 22/Dec/13 ]

Still in 1.7.4

Comment by Jeuv [ 25/Oct/13 ]

Still in 1.7.2

Comment by [Mod] CubeTheThird [ 26/Sep/13 ]

Is this still a concern in the current Minecraft version 1.6.4 / Launcher version 1.2.5 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Tyron [ 20/May/13 ]

Very annoying bug indeed
Please fix it Mojang.

Comment by Eleuin Development [ 08/Apr/13 ]

i have even seen mobs getting stuck in chests. even on youtube, i found a cat getting stuck inside a chest

Comment by Dranitsin Roman [ 15/Mar/13 ]

Can confirm in 13w11a, not personnaly happened with me, but with my dogs... Added two screenshots with my dogs stuck... They're stuck in chests when sitting, when standing they can walk out of them. Anvil in my toolbar was between chests, maybe it happened because anvil was there. idk. =D

Comment by Gregory Brown [ 09/Mar/13 ]

My screenshots

Comment by Gregory Brown [ 09/Mar/13 ]

A different but similar issue is happening in the 1.5 pre where I can just walk into the chest I'm going to post a scene shot of me doing this. The method I took to achieve this is as follows

Place two double chests on top of one another.
Place a sign one the front of the two chests.

Place a dog at a angle

walk into sign side keeping crossbar on the dog

Result is shown by screenshot

Comment by Marios [ 11/Feb/13 ]

It's because both things happen The first reporter reported both the "stuck" part and the jerky movement part while the second one only reported the "stuttering" movement which happens when pressing movement keys. When this happens you are actually stuck because normally when pressing a movement key you should be able to move.

Comment by Kumasasa [ 11/Feb/13 ]

Those issues are not necessarily the same:
MC-3804 : He writes of getting stuck in stairs
MC-1669 : Being pushed back by an anvil, but not stucking inside the anvil.

The three tickets are linked as "related to" to ensure when one will be fixed that the devs will look at the other tickets too.

Comment by Marios [ 11/Feb/13 ]

MC-3804 and MC-1669 are the same reports like this one. There should be only one report open. Total votes for this bug: 47 Currently they are scattered in 3 open reports.

Comment by Jon Trollsten [ 25/Jan/13 ]

Happens to me but i dont mind

Comment by ElConquistador [ 21/Jan/13 ]

The Minecraft Team could fix this real easy. Instead of render update --> set global block bounds, get collision box --> return global block bounds change it to get collision box --> return changed block bounds.

Just change the global block bounds to a block bounds for each bock.

Comment by Tavis [ 16/Nov/12 ]

You can reproduce the problem by looking at the near side of the chest, walking forward until you're touching it, then looking at the far side of the chest and moving forward. If you look at the far side while you are first walking forward, you'll notice that when you look at the near side you can actually walk forward a bit more.

You can also walk through them by arranging them like

 ##
#O

where # is a chest and O is you, walking into the corner, and looking back and forth between the chests in the corner. It's easier if the chests are eye level, and just as possible with them stacked two high.

This also works in survival, and can be used to reproduce MC-1749.

Generated at Sun Jan 12 11:55:07 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.