Count the entities (execpt player) on the world
Note : All
.mcfunction
files is on folderentityCount
(onworld/data/functions
)
- Run once time init command :
/function entitycount:init
- Set loop function :
/gamerule entitycount:gameLoopFunction loop
The result of that is show scoreboard by :
/scoreboard objectives setdisplay sidebar EntityCount
Is here : https://imgur.com/a/ON6cy