What do you call the Minecraft event that you can't enter certain regions stop something like the GommeHD.net stage

Bi
4

What do you call the Minecraft event that you can't enter certain regions stop something like the GommeHD.net stage Thank you?

Wi

There's no event for that. You can either put Barrier blocks or code something (do you want to do that?)

Then you have to check the position of the player and compare it with the barrier.

Lo

Player Move Event

Then query where the players are located, if prohibited simply event.setCancelled (true);

Dr

It is best to teleport the player to himself

Gu

So usually something like that is done with so-called barrier blocks. These are invisible, indestructible in survival mode blocks. You can get them in creative mode with the command / give @p minecraft: barrier