[MC-12000] The hit-box of corner fences isn't the same as the collision-box! Created: 15/Mar/13 Updated: 23/Nov/17 Resolved: 23/Nov/17 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.5, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w21b, Snapshot 13w22a, Snapshot 13w23a, Minecraft 1.7.4, Minecraft 14w08a, Minecraft 1.8.8, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a |
| Fix Version/s: | Minecraft 17w47a |
| Type: | Bug | ||
| Reporter: | John Distler | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 13 |
| Labels: | collision-box, fence, hitbox | ||
| Attachments: |
|
| CHK: | |
| Confirmation Status: | Community Consensus |
| Description |
|
What I expect to see: |
| Comments |
| Comment by [Mod] Les3awe [ 23/Nov/17 ] |
|
This issue duplicates |
| Comment by Markku [ 21/Nov/15 ] |
|
Affects at least 1.8.8. Also, not just corner fence, but also T-connections of fences. |
| Comment by Markku [ 21/Dec/13 ] |
|
Affects 1.7.4. |
| Comment by Daniel King [ 15/Jul/13 ] |
|
I do not think this is a bug. I am familiar with how the code for this is written, and fences and stairs actually specifically change their collision boxes to this form just for rendering the wire frame, then change it back again. However, I concede that it may be a bad feature. |
| Comment by Markku [ 20/Mar/13 ] |
|
Actually, stairs have a separate method for raytracing it, but that is not used for all purposes. It is at least used to trace arrows and mouse clicks (so, yeah, "hitbox" is handled with stairs exact shape). However, when called for things like where the raindrops should hit it, the "bounding box" is taken a bit simpler way. (Detail: there is a bug going on with this, too, see And of course, when walking on stairs, the "collision box" is again the exact stairs shape (probably using the same ray tracing, but I haven't checked). However, it is sort of kinky implementation for stairs. I can imagine the horror-code if the corner fence (let along T- or +-connected) was implemented in a similar way. |
| Comment by Anon Ymus [ 20/Mar/13 ] |
|
The stair hit box is still a cube. |
| Comment by Kumasasa [ 20/Mar/13 ] |
|
Reopened. |
| Comment by Piotr Paulski [ 19/Mar/13 ] |
|
One can enter into corner fence - this possibility was added in one of the 1.5 snapshots - so collision box (thats the right term?) can be more complex than one box per block. Also stairs have such complex collision boxes I think? (I remember some tweeted screenshot before 1.4 release showing that it became possible to shoot an arrow through a tiny window made with stair block). |
| Comment by Kumasasa [ 18/Mar/13 ] |
|
Sorry, my comment was misread as cheap pun, but actually I meant
|
| Comment by Anon Ymus [ 18/Mar/13 ] |
|
Minecraft cannot create a hitbox that isn't a rectangular prism. It is a technical limitation. |
| Comment by Piotr Paulski [ 18/Mar/13 ] |
|
Jokes on the side, it causes serious problems with targetting / hitting small mobs standing near the corner.
|
| Comment by Kumasasa [ 16/Mar/13 ] |
|
Are there any non cubic boxes in Minecraft ? |