Topic category: Help with modding (Java Edition)
So I been trying to build a less resource heavy door for a project I am working on. The idea is to have one block that is closed variant which is completely solid and using the right click function for blocks to have it changed into a transparent block that you can pass through and vice versa. So it will basically function like a door but I can place 1000s of them without a FPS drop. However the function doesn't appear to working and I don't know why.
I did the function Event Trigger - triggered by external call or when (global trigger): Player Right Clicks Block
Which after is Replace Block at X, Y and Z (not sure if I need to specify these) with the open block.
It is a similar procedure from open to closed.