Solved Setting Target Block

Discussion in 'Plugin Development' started by Failplease, Jan 3, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Failplease

    How do I set the block that the player's crosshair is on (since the deprecation of getTargetBlock())?
     
  2. Offline

    xize

    Failplease

    just do getTargetBlock(null. range); where the range is just a int.

    deprecated doesn't Always means that it doesn't work or is going to be deleted:)
     
  3. Offline

    Failplease

    xize
    Oh wow I thought that deprecated meant it didn't work anymore :p
     
  4. Offline

    xize

    Failplease
    its probably deprecated since it is using magic values since mojang did alot of changes with materials just try it I guess it still works:)
     
Thread Status:
Not open for further replies.

Share This Page