BlockFallEvent/BlockPhysicsEvent

Discussion in 'Plugin Development' started by SgtStud, Dec 31, 2012.

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

    SgtStud

    Is there an event specifically for a block "falling"? Is the block physics event called when a block falls? From what I can see the block physics event is called for many different reasons, as i tried logging it for testing and my console was spammed with messages.
     
  2. Offline

    ChrisixStudios

    You could use the block physics event and check if that block's entity is of the falling block type.
     
  3. Offline

    SgtStud

    How do you check if a block's entity is falling?
     
  4. Offline

    ChrisixStudios

    Check in the javadocs if you haven't. i bet it's in there
     
  5. Offline

    SgtStud

    I checked and cant find anthing. Anyone have any ideas?

    I need a way to make FallingBlocks trigger other fallingblocks to fall. I'm attempting to make dirt act like sand.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
Thread Status:
Not open for further replies.

Share This Page