#/damage using too many resources

1 messages · Page 1 of 1 (latest)

elfin niche
#

Why on earth does it take 0.36 ms on average to process one of these commands???

eager karma
#

It is known that damage isn't that performant but 0.36 seems high

#

do you have any mods installed?

elfin niche
#

Is there a more performant way to blow up the end crystal?

elfin niche
#

perhaps summoning an arrow?

eager karma
#

An arrow will definetly not be more performant

#

tbh you might want to check the entity selector itself

#

does the command still have the same processing time when you replace the command but keep the entity selectors

shut hornet
#

I do suspect it's more a problem with the target selectors,yeah. You have a distance check for the end crystal, which is good, but not on your nearest player selector. I also don't see a clear reason you'd need to use at @s here; assuming the player you're targeting later is the one running this command initially, you shouldn't need to change the position the command is executed at all