How to use /fill with custom blocks with custom NBT tags

Started by SirPogsalot on

Topic category: Help with Minecraft modding (Java Edition)

How to use /fill with custom blocks with custom NBT tags

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.

I know what the typical…
Tue, 01/26/2021 - 14:04

I know what the typical format for including nbts in a full command is, but it doesn’t seem to work for custom nbts.

How would I use that in a…
Wed, 01/27/2021 - 14:14

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.

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a F3 shortcut for…
Wed, 01/27/2021 - 14:45

There is a F3 shortcut for copying block information. I don't know which one it is but I know it is there.