Started by
RoboMan
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a procedure so when a specific type of block is right clicked, a block spawns two blocks under it, then after 20 ticks it gets restored to its original block. I am having difficulties with the last part, though, as I do not know what type of block was originally there.
you could try by Getting the block Below it, making a Blockstate Local Variable, and setting Local:VARIABLE = block at X Y - 1 Z
then after 40 ticks, replace block at X Y - 1 Z with Local:VARIABLE
for this to work, you HAVE to make the Variable a Blockstate
That worked, but now I'm running into a different issue. The block I am having it affect is an iron door, and the being set two blocks underneath it is a redstone torch. However, the door does not open.
?
Here is what happens when I try to right click the door. https://cdn.discordapp.com/attachments/582642235523334153/8965898625709…
The strange part is, it plays the door opening and closing sounds, but the door itself doesn't do anything
I just tried it again, and the good news is it doesn't play the sound anymore. Bad news is it still doesn't open.
yeah sorry this is how far my knowledge goes
Thanks for trying to help anyway!