When Entities Hit Blocks

Discussion in 'Plugin Development' started by xWatermelon, Jun 21, 2013.

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

    xWatermelon

    How can I make it so blocks will break when another entity (either player or falling block) hits into it? I am trying to recreate the effect in ShotBow's smash servers.
     
  2. Offline

    chasechocolate

    Listen for PlayerMoveEvent and check if there are any solid blocks near event.getTo().

    EDIT: For entities, I'm not exactly sure. Maybe start a repeating task?
     
Thread Status:
Not open for further replies.

Share This Page