1

Need to replace tnt blocks with tnt entity

1 emeralds2 replies38 views
uncertainskeleton started 10/27/2020 10:23 pm
garlicbreathinator replied 10/28/2020 12:40 pm
Im working on a minigame where one of the attack options is to place a tnt block and I need to make it so when you place it it explodes or something like that but the only tutorial I could find is from 5 years ago and doesnt work
If anyone has any commands or 1.16.1 Bukkit plugins that could help it would be much appreciated
Posted by avatar
uncertainskeleton
Level 13 : Journeyman Miner
3

2 replies

1
10/28/2020 12:40 pm
Level 26 : Expert Engineer
garlicbreathinator
Basically, you need to use a scoreboard to detect when a player places one, and then raycast in the direction they are looking to find the coordinates of the TNT, delete it, and spawn the entity. It is quite easy to set up.
1
10/28/2020 11:40 am
Level 47 : Master Modder
2mal3
I programmed a small datapack what it should do. You can download it here.
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome