Started by
SirPogsalot
on
Topic category: Help with Minecraft 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.
Anybody got any ideas?
I know what the typical format for including nbts in a full command is, but it doesn’t seem to work for custom nbts.
I think custom NBTs are stored in a sub-tag group, but I am not sure which one, could be CustomNBT?
How would I use that in a full command? I thought it would be as simple as the normal fill command nbt format, but that didn’t work.
There is a F3 shortcut for copying block information. I don't know which one it is but I know it is there.
Got it to work, the shortcut was F3 + I.
Glad to hear this! Which sub-tag was it?
It was ForgeData.