Minecraft Education Mode. But that is not to say that you cannot have fun while doing so. To install classroom mode for minecraft on macos:

Minecraft education edition is a version of the game where students can learn technical skills like math & problem solving. Classroom mode can be used to access a range of features specially designed to interact with students while hosting a multiplayer game by managing settings from a central user interface. It is being developed by mojang studios and xbox game studios and contains features that make minecraft easy to use in a classroom setting.