Started by
Jacob Taylor
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, I have recently created a block similar to crimson nylium, and a plant similar to crimson roots, however in an end theme.
I want to make it so, just like crimson roots, the end root can ONLY spawn on Endcylium. I have managed to get it naturally spawning on Endcylium and End Stone, however the block can still be picked up and placed on normal stone/nettherack.
How do I make it so end root can ONLY be placed on encylium?
Thanks for the help.
Please :pray:
Make a procedure that breaks it when it is placed on anything other than those blocks. Then instead of breaking the block, just remove it and give the player one back with commands (to stop the items from dropping and to minimize break particles).
Thanks for your reply.
I have tried this, however I dont really understand the block code as I am pretty new, so I'm sorry if the following code is bad.
I have used this, bound it to the end root plant, however nothing at all happens. I can still place the root on all stone types.
Thanks in advance for any help.
bump
Theres a placement condition trigger in the blocks properties. Make a procedure and return logic if block at x y-1 z = custom block.