mojira.dev
MC-1635

Hitboxes for some blocks are broken

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 :

Related issues

MC-1669 Possible to walk through two perpendicular anvils at the corner where they meet. MC-3037 When standing, walking, or running on chest you uncontrollaby bob up and down. MC-3793 Glitch through chests. MC-5300 It is possible to go inside chests MC-5563 I was playing on a server and I jumped on a chest with another chest one block above, and I glitches into the chest, and then it teleported me out. MC-7856 Chests - clipping MC-8410 Can walk inside stacked chests MC-9785 Jumping toward 2 stacked double chests/trapped chests causes weird behavior MC-10051 Chest Bug MC-10219 possible to go trouch chests. MC-11404 Jump glitch when walking into chest from side and looking at it MC-13263 mobs getting stuck in chests MC-14177 chest glitch MC-15964 Can walk diagonally between chest corners MC-16956 Jumping bug with chest MC-17065 Stuck in a Chest, If you jump against it MC-28112 Wolves can go through/into blocks, especially chests and crafting tables MC-29109 When you walk at a set of 3 double chests on top of a cake you glitch out into the chest block MC-37702 Chest Bug MC-38387 Chest Hitbox MC-42874 Pass through chests MC-44885 Ability to walk through chests MC-52531 Glitch while jumping on chest. MC-56290 Walk through chests MC-65485 Walking into block against chest causes movement glitching MC-67391 I Can Walk Into Anvils MC-73215 Able to glitch into chests MC-77051 Zombie Chest Glitch MC-81233 Baby mobs can glitch through chests MC-81346 Broken Hitboxes for Anvil Blocks MC-81946 Chest climbing MC-87797 Anvil box bug MC-89383 amor stand falling trought a slab MC-92426 Large Chest side glitch MC-98325 bugging into chest

Attachments

Comments

migrated
[media][media][media][media]
migrated

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.

migrated

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.

migrated

Happens to me but i dont mind

migrated

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.

kumasasa

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.

migrated

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.

migrated

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

migrated

My screenshots

migrated

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

migrated

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

migrated

Very annoying bug indeed ๐Ÿ˜ž
Please fix it Mojang.

CubeTheThird

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.

Jeuv

Still in 1.7.2

migrated

Still in 1.7.4

migrated

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

migrated

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

migrated

Still confirmed for 14w19a

migrated

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

migrated

Still exists in 14w27b.

migrated

Still exists in 14w28b.

migrated

Still exists in 14w29b.

migrated

Still exists in 14w31a.

migrated

Still exists in 14w32a.

migrated

Still exists in 14w34b.

migrated

Still exists in 14w34d.

migrated

still exists in 1.8

migrated

Still exists in 1.8.1.

migrated

Why is this only marked as โ€œrelates to MC-73302โ€? It should be closed as duplicate.

migrated

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

migrated

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

migrated

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

Sonicwave

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)

migrated

Still exists in 1.8.2 pre1.

migrated

Still exists in 1.8.3.

migrated

Still exists in 1.8.4.

migrated

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.

migrated

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

migrated

Still exists in 1.8.5.

migrated

Affects 1.8.8.

migrated

Still exists in 15w36c.

migrated

Still exists on 15w37a.

migrated

Erik Broes

Community Consensus

anvil, chest, hitbox, ironbar

Minecraft 1.4.3, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w03a, ..., Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w35e, Minecraft 15w36c, Minecraft 15w37a

Minecraft 15w38a

Retrieved