How would I be able to keep a mob a certain distance away in a specific direction from the player?

How would I be able to keep a mob a certain distance away in a specific direction from the player? - Male tourists with map standing in forest

I am trying to teleport a villager exactly 6 blocks west of the player repeatedly. I have tried everything I can think of. How can I do this?






Pictures about "How would I be able to keep a mob a certain distance away in a specific direction from the player?"

How would I be able to keep a mob a certain distance away in a specific direction from the player? - From above COVID 19 warning inscription about social distance on asphalt pavement on street
How would I be able to keep a mob a certain distance away in a specific direction from the player? - Small footbridge over river in mountainous terrain
How would I be able to keep a mob a certain distance away in a specific direction from the player? - From above of crop concentrated young Asian female freelancer with long dark hair in elegant outfit working remotely on laptop while sitting on bench on street



How do you keep a mob in place in Minecraft?

2. Type the Command
  • Test if Players are within 10 blocks. In this example, we will test to see if there are any players within a 10 block radius with the following command: /testfor @a[r=10] ...
  • Test if Mooshrooms are within 50 blocks. ...
  • Test if Nearest Player is at Level 20 experience.




  • Lost Ark: Important Settings and Features You Need to Know About!




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Baihaki Hine, Nathan J Hilton, Julia Volk, John Diez