Player-specific block changes

Discussion in 'Plugin Development' started by deprilula28, Oct 11, 2015.

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

    deprilula28

    So, I've seen on this server (can't advertise it here) on its spectator mode a item called "Go through blocks" it basicly client-sided breaks blocks that you come close to. It never bugs out or anything.
    How can I actually do that? Is it possible to change it to something which is not air? Thank you.
     
  2. Offline

    mythbusterma

    @deprilula28

    Yes you can, there's a method in Player in that sends a fake block change.
     
    deprilula28 likes this.
  3. Offline

    ShadowRanger

    player.sendBlockChange()
     
    deprilula28 likes this.
  4. Offline

    deprilula28

    Thank you guys! Player has like 500 methods, didn't search through it all, and at first I though it was a Packet! :D
     
Thread Status:
Not open for further replies.

Share This Page