The opposite of FallingBlocks?

Discussion in 'Plugin Development' started by nite, Aug 29, 2014.

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

    nite

    So I understand fallingblocks and such but im wondering if there is anything that instead of falling block the blocks go from the low to high so FlyingBlocks or something like that?
     
  2. Offline

    SmooshCakez

  3. Offline

    nite

    The thing I need it for though is after a fallingblock falls and turns solid I need it to shoot it back up into the sky, So is there anyway I could do that with a solid block?
     
  4. Offline

    SmooshCakez

    Remove the block once it turns solid, spawn a falling block of the same type and data where the block was, and shoot it using setVelocity(). AFAIK, there's no method to make an existing block fall, correct me if I'm wrong. If there is, use it, then set the velocity.
     
  5. Offline

    nite

    SmooshCakez Alright Thanks I will try that

    SmooshCakez That works Thank You! But after a minute or so of the fallingblock shooting into the air it Drops a Entity so if I shoot a Beacon up into the air it drops a beacon a little later How can I stop this? I do not want people getting free beacons on my server :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 10, 2016
  6. Offline

    jpjunho

    nite
    use FallingBlock#setDropItem(false);
     
Thread Status:
Not open for further replies.

Share This Page