#custom door don't work
1 messages · Page 1 of 1 (latest)
If you do not provide the door json, how can anyone help you?
i do have his same issue
can you help me/us?
#1 Confirm that minecraft:cardinal_direction can be used in calling in a block. I am thinking that it is not changable as it relates to a player's position at the time of block placement. Try your fill command on the command line to see if it works. If the command line does not work to place a door down with this, then cardinal direction is read-only. You will need to store the information from it into a property and use that in your permutations and calling of the upper door instead. I do not have time today to test out these theories, but I am sure, since you made this complex block, that you understand it enough to do that yourself.
#2 Though this may not be a real issue, but maybe use setblock instead of fill. Do execute if block ~ ~1 ~ air run setblock ~ ~1 ~ door [] instead of fill ~ ~1 ~ ~ ~1 ~ door[] replace air
#3... if you wrote the code for this block you would understand why it despawns after a few seconds with no top part of the door. ** It is supposed to**. The block has to respond to whether a player breaks the top part of the door or the bottom part of the door. If either part is gone, the other one goes too. So the problem lies in the top part of door not being installed... so #1 is the most likely the issue. I did not look at the code thoroughly to see if the tag / check system was sound.