#test for creative
3 messages · Page 1 of 1 (latest)
And if you do need to use scripting, use world.getPlayers (https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/mojang-minecraft/world#getplayers) with query options (https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/mojang-minecraft/entityqueryoptions) specifying a creative gameMode (https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/mojang-minecraft/gamemode) value.
To test an individual entity, just see if they’re in that list.