Started by
Litleck
on
Topic category: Advanced modding
Hello,
I've been working on a procedure to place blocks surrounding my custom ore. It works perfectly fine when its generated but when I place the ore down it'll run the procedure generating the surrounding blocks. I do not want this to happen when a player places it. I'm using the "When block added" event in the ore.
Thank you.
A way of doing this is have an ore generator block that will generate the ore on an update tick, and turn itself into an ore block. This generator block would then generate the ore (and be creative mode only) and the blocks around the ore in the world, while the ore does nothing but what you want the ore itself to do.