Freezing all mobs, testing for a player in a boat, then unfreezing all mobs
//ads -- adsterra.com -- native banner
?>
Is there a way that I can freeze all mobs using a command, then test for a player getting on a boat, then unfreeze all the entities? If you are curious as to why I would be wondering this, here is a link to one of my other questions: Making mobs invincible
Best Answer
You could use the /effect command to apply slowness to every entity with a really high level and time as such:
/effect @e 2 1000000 255 true
Then when you detect your player in the boat (this is where my knowledge ends), you can clear the effect as such:
/effect @e clear
Pictures about "Freezing all mobs, testing for a player in a boat, then unfreezing all mobs"



How do you freeze mobs?
This could be used if you just wanted a frozen scene with no mobs moving, no crops growing, no rain moving (sort of like a screenshot or photograph). The command would be as follows: /freeze <seconds> or forever <thing to freeze> or all.Minecraft ICE MOBS MOD / SURVIVE THE FROZEN LANDS WITH DANGEROUS MOBS!! Minecraft
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pew Nguyen, Thirdman, Nihongraphy, Isabelli Pontes
