Solved How to calculate to the left of the block of the previous location

Discussion in 'Spigot Plugin Development' started by Ded2332, Jul 12, 2021.

  1. I have a location, and in a block (or more) of it on the left side I want to spawn a mob. But I do not understand how to calculate the location, read the documentation, but still do not understand. I tried to shift the x and z coordinates, but it spawned on different sides.
     
  2. Hello,
    look over here:
    https://bukkit.org/threads/getting-a-block-to-a-players-right-left.180411/

    if you still have problems, feel free to ask again!
     
    • Friendly Friendly x 1
  3. No problem!