Commands forget Trapdoors have metadata
When using a command using metadata/datavalues of a trapdoor, it does not register it. Thus, doing "/setblock x y z minecraft:trapdoor 1" and "/setblock x y z minecraft:trapdoor 0" will both result in a closed trapdoor.
This is very annoying when making adventure maps that utilize trapdoors, as I am currently doing. Opening it by hand still works, but spawning in/testing for opened trapdoors does not work.
Environment
Windows 7 Java 7
Created Issue:
Commands forget Trapdoors have metadata
When using a command using metadata/datavalues of a trapdoor, it does not register it. Thus, doing "/setblock x y z minecraft:trapdoor 1" and "/setblock x y z minecraft:trapdoor 0" will both result in a closed trapdoor.
This is very annoying when making adventure maps that utilize trapdoors, as I am currently doing. Opening it by hand still works, but spawning in/testing for opened trapdoors does not work.
Environment
Windows 7 Java 7
- Unresolved
- Open
- Unconfirmed
- Creative
- Metadata Trapdoor data_values
- 13w42b
Compare which side the hinges are on between 0 and 1.
Metadata is 4 bits, and thus a range from 0-15. If I'm reading the information on the wiki correctly: for trapdoors, the low two bits determine which side the hinge is on. The third bit determines open/closed, and the highest bit determines whether it's attached to the bottom or top of the block.
So open trapdoors will have values in the range 4-7, 12-15, depending on position and orientation.
Is this still a concern in the latest Minecraft version 13w48b? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
This ticket is invalid without the requested information, no response has been received within a reasonable time and we are assuming the issue has been resolved. If you are still experiencing this issue, we can reopen it at your request.