(SOLVED) How Do I Make Custom TNT?

Started by MamaLuigi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(SOLVED) How Do I Make Custom TNT?
Thu, 02/15/2024 - 16:28 (edited)

I want to make a new type of TNT with works the same as normal TNT, but it is blue instead of red, its explosive power is 5 times more, and it has a firey explosion, (like fireballs, beds, or respawn anchors).

How would I go about doing this, and is it even possible?

Any help would be greatly appreciated!

Edited by MamaLuigi on Thu, 02/15/2024 - 16:28
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so you have to break down…
Sun, 01/07/2024 - 23:45

so you have to break down tnt, its a block that when triggered(left clickeed by flint) then the tnt will break(no particles) and summon an entity(blue tnt mob) that has no ai immune to all damage, and will have an animated texture that becomes white and black rapidly, that will explode using an nbt timer, or potion effect that blows up when it ends(wait block can be broken by leaving and joining) and then when that timer/effect ends the entity explodes with that power and is despawned

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks! I'll try this out!
Mon, 01/08/2024 - 12:12

Thanks! I'll try this out!

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
One thing, how do i give the…
Mon, 01/08/2024 - 17:21

One thing, how do i give the custom tnt entity an animated texture?

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2 things can be done,…
Mon, 01/08/2024 - 22:12

2 things can be done, because Mcreator only supports blocks being animated, you will need custom code. To do it in Mcreator (this is a dumb solution so maybe just make it sprout white particles and be dark grey block mob, if you chose to read the rest, good luck, I hope you are good at English) you can have 2 version of the mob white and dark grey and it will on every 5th tick make the mob spawn the other one and despawn the current, now since you will use a timer carry that timer over, this can be done by spawning the mob, effecting the closest entity that is that mob with the potion effect (if nbt give that nbt to that mob with the same variable), use the get remaining ticks and get level amp from the first mob so that it will continue the potion effect/nbt. this is overly complicated but it's the only solution with Mcreator i can think of. I hoep I healped 

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh and to get the 5th tick…
Mon, 01/08/2024 - 23:12

oh and to get the 5th tick just do nbt number/potion remaining tick mod 5, if its equal to 0 then switch