Topic category: Help with modding (Java Edition)
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.