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

Started by SirPogsalot on

Topic category: Help with modding (Java Edition)

Last seen on 00:04, 15. Apr 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 00:04, 15. Apr 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

I think custom NBTs are…
Wed, 01/27/2021 - 09:11

I think custom NBTs are stored in a sub-tag group, but I am not sure which one, could be CustomNBT?

Last seen on 00:04, 15. Apr 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 14:43, 2. Aug 2022
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.

Last seen on 00:04, 15. Apr 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Got it to work, the shortcut…
Thu, 01/28/2021 - 18:37

Got it to work, the shortcut was F3 + I.