[MC-4582] Can't eat, throw, or shoot while looking at an Iron Door/Iron Trapdoor Created: 13/Dec/12 Updated: 12/Feb/21 Resolved: 16/Aug/16 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.5, Snapshot 12w50a, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w07a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w23b, Snapshot 13w24a, Snapshot 13w24b, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 1.10 Pre-Release 1, Minecraft 1.10.2 |
| Fix Version/s: | Minecraft 16w33a |
| Type: | Bug | ||
| Reporter: | FireHunterX | Assignee: | [Mojang] Agnes Larsson |
| Resolution: | Fixed | Votes: | 7 |
| Labels: | None | ||
| Environment: |
Java 7 |
||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
You can't eat while looking at an Iron Door. Also affects all other right-click actions. VERY annoying. Code analysis by marcono1234 in this comment |
| Comments |
| Comment by Mark Jeronimus [ 02/Nov/16 ] |
|
I'm on single player. Computer is completely idle, no lag, and it's 100% repeatable. [edit] Tried it again in a brand new world. Same thing. [edit2] Ok it has nothing to do with fences |
| Comment by Fabian Röling [ 02/Nov/16 ] |
|
That's just lag and not specific to the current snapshot. I've seen the same in a video in 1.7.10. You are probably on a server. If you press tab (or whatever key you have for the player list), you see a network connection indicator that's not completely green. If you are in singleplayer, then you should look for lag sources on your internal server (permanently running machines, entities, etc.). |
| Comment by Mark Jeronimus [ 02/Nov/16 ] |
|
The fix causes weird behavior in 16w43a. Instead of eating like normal, eating takes 3 times as long as normal. The eating animation stops after the normal lenfth, but the sound and particles continue. After this 3 times longer period, one food item is consumed and it's hunger and saturation applied once. |
| Comment by NightSky64 [ 29/Oct/16 ] |
|
True. |
| Comment by user-f2760 (Inactive) [ 29/Oct/16 ] |
|
It's already fixed (and there was no reason for them to be interactable blocks). |
| Comment by NightSky64 [ 29/Oct/16 ] |
|
You know you can just left shift while looking at iron doors in order to use items. |
| Comment by [Mod] Neko [ 17/Aug/16 ] |
|
Find an alternative. You can use a piston and a fence instead of an iron door. |
| Comment by Ben Mintz [ 17/Aug/16 ] |
|
noooo! this breaks AFK fish farms! |
| Comment by Francielly [ 07/Jun/16 ] |
|
Confirmed for 1.10-pre1 |
| Comment by [Mod] Asteraoth [ 22/May/16 ] |
|
Confirmed for 16w20a |
| Comment by [Mod] Asteraoth [ 16/May/16 ] |
|
Confirmed for 1.9.4 |
| Comment by user-f2760 (Inactive) [ 20/Apr/16 ] |
|
Reopened, and changing report to only take account of iron (trap)doors, as fences was resolved as intended by grum because they're intractable blocks, but iron (trap)doors don't know any form of interaction. |
| Comment by Marcono1234 [ 17/Apr/16 ] |
|
Please link to this comment in the description The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version. The reason why this happens is because the methods net.minecraft.block.BlockDoor.onBlockActivated(World, BlockPos, IBlockState, EntityPlayer, EnumHand, ItemStack, EnumFacing, float, float, float) and net.minecraft.block.BlockTrapDoor.onBlockActivated(World, BlockPos, IBlockState, EntityPlayer, EnumHand, ItemStack, EnumFacing, float, float, float) return true if the material is iron. |
| Comment by Marcono1234 [ 17/Apr/16 ] |
|
Only iron doors and trapdoors are affected, for fences see |
| Comment by KingSupernova [ 12/Feb/15 ] |
|
Only fences were resolved as intended, nor doors or cauldrons. |
| Comment by KingSupernova [ 26/Jan/15 ] |
|
I agree that this should be considered a bug. This behavior serves no purpose and really gets in the way. |
| Comment by branza [ 04/Jan/15 ] |
|
Grum only said it's intended with fences, not with iron doors or cauldrons. It should at least be fixed for iron doors, which don't have any right click action. |
| Comment by Kumasasa [ 28/Dec/14 ] |
For feature suggestions or changes please see: Minecraft Suggestions on Reddit. |
| Comment by Mark Jeronimus [ 28/Dec/14 ] |
|
I also think it should be re-opened. Not being able to eat at a fence is clearly experienced as a bug. Even if the fences etc are an interact-able block, there should be an exception in the code for eating. Period. |
| Comment by John Scott [ 17/Jun/14 ] |
|
This also happens with Nether Brick Fence. Please add this to the bug report. |
| Comment by branza [ 08/Feb/14 ] |
|
Grum said that the bug with fences is intended, but that's because leads can be attached to fences by right-clicking. Iron doors and cauldrons, on the other hand, don't have any right-click action, so I think this ticket should be reopened. |
| Comment by Kumasasa [ 06/Jul/13 ] |
|
Working as intendend (See comment in |
| Comment by FireHunterX [ 30/May/13 ] |
|
I did some work with Iron Doors myself, and I found this: It is possible to retain the door functionality while doing away with the right-click actions. It crashes quite often, but maybe I did something wrong. If I can do it, Mojang definitely can do it. |
| Comment by FireHunterX [ 27/Mar/13 ] |
|
Turns out that many other right-click actions don't work well with Iron doors. |
| Comment by Anon Ymus [ 23/Mar/13 ] |
|
Confirmed in 1.5.1. |
| Comment by Daniel [ 13/Dec/12 ] |
|
I guess it is because iron doors are handled as "doors" internally. |