#how to prevent tnt from being used in a dim with a dispenser

22 messages · Page 1 of 1 (latest)

shell elk
#

found out even if i cancel blocks from being placed they can still use a dispenser and cause havoc

deep groveBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

shell elk
#

or a way to prevent a block from being put in a dispenser

sleek kindle
#

You can just prevent people from getting TNT

fringe wagon
#

that will just cancel the primed TNT from spawning

shell elk
fringe wagon
#

Yes

#

This only cancels the spawning of primed TNT

shell elk
#

so ill ahve to do this for every expolding item

fringe wagon
#

Could make a

const explodeEntity = ["list of", "exploding entities"]

And instead of adding it directly to the event
U do
if(explodeEntity.contains(event.entity.id) event.cancel()

shell elk
#

Is it possible to cancel damage from explosions

fringe wagon
#

Yes

#

Gotta check the string of
Event.source

shell elk
#

Saying as an alternative to doing all the ids

fringe wagon
#

That would still break blocks then

#

Just make a list of exploding entitiesheh

shell elk
#

I have yo make a list of 200 blocks this will be fun XD

fringe wagon
#

why do u have 200blocks of explosion items
maybe u can do some RegEx shenanigans, but i dont know how, maybe someone else can help with that

deep groveBOT
#

@shell elk Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

deep groveBOT
#

@shell elk Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

deep groveBOT
#

@shell elk Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!