1

Need to replace tnt blocks with tnt entity

uncertainskeleton's Avatar uncertainskeleton10/27/20 10:23 pm
1 emeralds 122 2
10/28/2020 12:40 pm
garlicbreathinator's Avatar garlicbreathinator
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 uncertainskeleton's Avatar
uncertainskeleton
Level 24 : Expert Miner
9

Create an account or sign in to comment.

2

1
10/28/2020 12:40 pm
Level 31 : Artisan Engineer
garlicbreathinator
garlicbreathinator's Avatar
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 67 : High Grandmaster System
2mal3
2mal3's Avatar
I programmed a small datapack what it should do. You can download it here.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome