I'm making an arena minigame, and I realized a problem with the endermen: they would teleport out of the arena if left alone too long. I cannot fill in the area around the arena because the lobby is right next to it, and I really don't want to disable all the command blocks summoning the endermen. If the endermen cannot be kept in the arena, can they at least, through commands, be convinced to teleport back into the arena?
Minecraft – How to keep endermen in an arena
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft – Display a title to players with a set scoreboard value!
- Minecraft – How to tp a Minecraft Player to a certain location when they die with command blocks
- Minecraft – How to teleport only people within a specific area
- Minecraft – How to reset map in unloaded chunks
- Minecraft – How to make command blocks teleport players away from an area when they don’t have a specific item
- Minecraft – teleporting players to ender pearls
Best Answer
The
rm
parameter allows you to obtains targets outside an area. You can use this to teleport endermen that left back to a certain location.The following teleports endermen that are 50 blocks away or further from the specified coordinates back to the specified coordinates.