#i cant figure dis out
1 messages · Page 1 of 1 (latest)
yea that
variables/nbt
when spawning the tnt, give it a variable
and check for that
yes
so then?
no
a local variable may obly be used in a single event/command
it cant carry further
only*
list
list
so instead of setting {_lst} you can add the entity to {_lst::*}, but the simplest way would be to add a tag to the nbt that says don’t explode or even just to assign a display name to the primed tnt entity that you can then check for
You need to differentiate regular tnt from the tnt you want to not destroy blocks
for example when you spawn the tnt you can set the display name to “&f”, then when it explodes you can check if the display name is “&f” and cancel the event
cancel event stops the damage
on damage:
if damage was caused by explosion:
cancel event
get creative
after canceling the event create a fake explosion at the location
tell us what your problem is
make them