#test for creative

3 messages · Page 1 of 1 (latest)

hidden ibex
#

You don't need javascript. You can execute a command on a player with target selector @a[m=creative]. If you want to always test for a creative player, just do /execute @a[m=creative] ~~~ (your command) in an .mcfunction file, then put that function file in tick.json

turbid sundial
#
#

To test an individual entity, just see if they’re in that list.