Solved how to prevent fallingblock become solid?

Discussion in 'Plugin Development' started by xyfonix, May 1, 2014.

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

    xyfonix

    I can't find any way to prevent a fallingblock become a solid block. I need it in my plugin to prevent that fallingblocks that are created by a explosion become a block when they touch the ground.

    thanks in advance,
    Xyfonix
     
  2. Offline

    NathanWolf

    You can catch this in the EntityChangeBlock event.

    Look for FallingBlock entities that you care about in that event (I tag mine with metadata, for instance) and cancel the event if you don't want them to turn into blocks.
     
    xyfonix likes this.
  3. Offline

    xyfonix

Thread Status:
Not open for further replies.

Share This Page