Creating particles / effects

Discussion in 'Plugin Development' started by TinyCthulhu, Sep 7, 2011.

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

    TinyCthulhu

    Could anyone help me, please?
    Is there any way to create effects/particles preferably with bukkit? I've found World.PlayEffect(..) but that's not enough.
     
  2. Offline

    Pencil

    Nope, you can only use what Playeffect gives, like smoke and explosion stuff etc D:
     
  3. Offline

    Shamebot

    There's a hackish way to spawn smoke different to the playEffect smoke.
     
  4. Offline

    Pencil

    What does it look like? D:
     
  5. Offline

    Shamebot

    Code:java
    1. ((CraftServer)Bukkit.getServer()).getServer().serverConfigurationManager.sendPacketNearby(loc.getX(),loc.getY(),loc.getZ(),64,((CraftWorld)loc.getWorld()).getHandle().dimension, new Packet60Explosion(loc.getX(),loc.getY(),loc.getZ(),f,blocks));
     
    fromgate likes this.
  6. Offline

    Pencil

    Thanks XD But I was more wondering what's the difference? The smoke effect from the Playeffect is very small and doesn't look too nice, is this one better? :3 I'm not at home so I can't try :)
     
  7. Offline

    Shamebot

    Yes the smoke is thicker, I use this in my Rocket plugin.
     
  8. Offline

    Pencil

    Sweet :D This will be VERY useful then ! thx
     
Thread Status:
Not open for further replies.

Share This Page