Topic category: Help with modding (Java Edition)
Hey, so I've got a block that's supposed to swell and create a large bulb of itself, and the way it does this is that it has an nbt "puffStep" initial value of 1. If a random number 0-1 is less than "puffStep," it will expand. If it does expand, it should fill the area around it with copies of itself, with their "puffStep" nbt decreased by 0.2 (so now it would be 0.8). That way it would be able to make a maximum of 5 steps. The problem is, I don't know how to make a fill command that can create custom blocks with their custom nbts changed.