Closed Nico314159 closed 1 year ago
For example,
Tag.update(@e[nbt={OnGround:1b}], onGround);
compiles to
tag @e remove onGround
tag @e[nbt={OnGround:1b}] add onGround
tag @e remove onGround
looks really unoptimized?
tag @e remove onGround
looks really unoptimized?
Well, the purpose is to remove it from all entities before re-adding to specific ones, so I don't know of a better way to do that.
Function signature:
Inspired by Trident