Creative way to change nbt tag of primed tnt

Started by MonkiiMan on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Creative way to change nbt tag of primed tnt

Hello, I am currently working on my first mod that adds dynamite as well as the components to make the dynamite. I accidentily discovered that if you name the recipe of an item the name of the item in the base game, it overwrites the recipe of the base game. I was wondering if there was a way to overwrite the "explosion power" nbt tag of primed tnt so that I can adjust it to more accurately represent it's recipe. I made the sticks of dynamite have an explosion power of 2 and 9 of them combine into a tnt block so I wanted to change it to 18.