TNT relative coordinates help needed!

Started by Red_Phoenix05 on

Topic category: Help with modding (Java Edition)

Last seen on 23:48, 22. Mar 2022
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
TNT relative coordinates help needed!

So i am making a mod called More TNT. So far i have made super tnt which has a HUGE explosion size. Next i was going to make the cluster bomb. Everything went smoothly untickl i started the mod on minecraft. When i right-clicked the tnt, it didn't work properly. I went back to its settings and realized when i put in the event right-click on block i used

"/fill ~1 ~1 ~1 ~-1 ~1 ~-1 tnt" when i did that, i didn't think it would fill the tnt in the player's head! i thought it would place above the block. I searched all over the internet for getting a block's relative coords, but i found nothing. Please help I think this mod will work out great and be a big hit with people.

Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you want to place block…
Wed, 05/09/2018 - 15:08

If you want to place block that is higher from the one that you have right click on it than you need to use add block an number block from maths tab and do Y+ number of blocks above "if set to 10 it will place your tnt 10 blocks away in Y axis"

Last seen on 00:36, 3. Mar 2020
Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try using either (I don't…
Sun, 05/20/2018 - 15:05

Try using either (I don't know which) <hollow> or <outline> at the end, it will only replace the edgese leaving air for the player.

Last seen on 23:48, 22. Mar 2022
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, guys. I figured it…
Sun, 05/20/2018 - 17:17

Thanks, guys. I figured it out. I haven't been onthe forums in a long time so i havent read your comments but i figured it out on my own. I will have to stop modding for quite awhile because i am running a server.