mojira.dev
MC-4582

Can't eat, throw, or shoot while looking at an Iron Door/Iron Trapdoor

You can't eat while looking at an Iron Door.

Also affects all other right-click actions.

VERY annoying.


Code analysis by @unknown in this comment

Linked issues

MC-3413 Hoe on cauldron bug Resolved MC-7844 Continuous Right Clicking Iron Doors Resolved MC-9025 Can't fire a bow at an iron door Resolved MC-10107 Carrots and a Cauldron Glitch Resolved MC-15345 Food will single-"punch" an iron door as opposed to eating the food Resolved

Comments 26

I guess it is because iron doors are handled as "doors" internally.
With wooden doors not eating/drinking/whatever makes sense because you right click the door to open it.
However since you can not open an iron door by right clicking it this should be changed for iron doors.

Confirmed in 1.5.1.

Turns out that many other right-click actions don't work well with Iron doors.

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.

Working as intendend (See comment in MC-21433)

16 more comments

It's already fixed (and there was no reason for them to be interactable blocks).

True.

Mark Jeronimus

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.

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.).

Mark Jeronimus

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 😛

FireHunterX

Agnes Larsson

Confirmed

Minecraft 1.4.5, Snapshot 12w50a, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w07a, ..., Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 1.10 Pre-Release 1, Minecraft 1.10.2

Minecraft 16w33a

Retrieved