Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/07/17 in all areas

  1. If you want the torch to be above the block, then set its coordinates 1 block above it.... if you want it to the left of the block then set the torches coordinates to be 1 block to the left, etc. aka: BlockPos newpos = pos.offset(facing); You may also want to call the player.canPlayerEdit to see if the player has the editing rights to actually edit the block you want to place the torch in.
    1 point
  2. That's because your +1is on the wrong side. You need to add it to the positive X and positive Z directions. NOT to left or right sides. Your killzone IS 5x5, but it is offset from where you want it (it includes the fence on the fat side from where it didn't kill the shulkers).
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.