Started by
ArmadilloMike
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make a spreading block the spreads from a certain block and if it is a certain amount away from it stops spreading. How would I do that?
Topic category: Help with Minecraft modding (Java Edition)
I want to make a spreading block the spreads from a certain block and if it is a certain amount away from it stops spreading. How would I do that?
I am not sure but ig this could work:
Give your spreading block a procedure in which it can spread (I will not elaborate on this further) and add a int blockstate/nbt tag which is the amount of spread left.
For every block that spreads: Place the block, reduce its blockstate/nbt tag by 1 and only let it spread if the counter is < 0.
The rest to do would be developing a good looking spread mechanism and implementing a type of counter.