Started by
WenXin2
on
Topic category: Help with Minecraft modding (Java Edition)
Currently, I have created a procedure that will place a structure when the block is right-clicked, but it will replace any existing blocks that were there. I'm also using the structure void block, so air replacing blocks isn't the problem.
Is there a way to prevent a block in the structure from replacing other blocks? Or to prevent the structure placement entirely if there is no room for the structure?
There is no way to do this with new structure system, but will be partially possible once we add condition mod element with manual checking.
That will be nice!
I know. I already using it. Use structure void in your structures.
I'm already using the structure void. What I meant is that blocks like grass and stone can be replaced by the custom blocks when it shouldn't.
I think you can do it if you place a block onto place where is structure void. That will do when structure gets loaded this:
If there is block if it will keep him. If not it will place custom one