[API] Flying blocks

Discussion in 'Resources' started by ase34, Mar 21, 2014.

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


    This would be an option, but setting an effect to the horse requires an extra packet for each horse and player and might just be too expensive in comparison to the benefits.

    This API wasn't actually made for handling such a high number of blocks. When spawning the blocks at once you're actually DDoS-ing the client with packets, eventually bringing the client to fall. However, your approach with the timers is a very good idea.

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


    Got ya. I actually didnt pay attention to how it was keeping the blocks floating, so i assume if i did i would have noticed that it would technically be DDoSing the client with packets, i wouldnt have done it that way, and Thanks!!
  3. Offline


    Monkeyboystein Just for clarification: keeping the block flying does not require DDoS-ing the client with packets, just spawning them requires a few packets, just like normal entities. Trying to spawn ~1000 sheep at once would lead to similar lags as spawning ~1000 flying blocks.
  4. Offline


    What a wonderful job done. :)
  5. Offline


    Just because something has an invisibility potion effect doesn't mean it isn't there.
  6. Offline


    I think you should use invisible bats under the blocks instead of horses, because there is a bug where you can see the horse legs in the sky sometimes, just like the holograms. Bats can be edited to have no sounds, invisibility without potions, etc. I made a FallingBlockAPI which easily creates a flyingblock, that actually flies up, and a static block, that acts like yours, with bats.
Thread Status:
Not open for further replies.

Share This Page