mojira.dev
MC-59114

Failure to detect iron trapdoor beneath feet

When an iron trapdoor is on the top half of a block, it will not be detected by the execute command. (note, '/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:iron_trapdoor 0' etc. seemed to work if the trapdoor was on the bottom half of the block)

In the chat log, I was told that there was "Failure to detect as quickbeam1" (my username) when I attempted to run either '/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:iron_trapdoor 0 say testing' or '/execute @p ~ ~ ~ detect ~ ~-1 ~ minecraft:iron_trapdoor 0 say testing'.

Therefore, I can conclude that there was no easy way to detect the trapdoor beneath the player's feet. This also applied to ordinary trapdoors

Comments 3

It's not the game's fault your command didn't work. You're trying to find an iron trap door with data value of 0, which is the value for an closed trap door facing north on the bottom of a block. (The game uses the data value to store direction, position and powered state of the trap door.) However, a closed trap door facing north on the top of a block has a data value of 8. This should be closed as Works as Intended or Invalid.

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Hans Jorgensen

(Unassigned)

Unconfirmed

Minecraft 14w26b

Retrieved