1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

More particles

Discussion in 'Development' started by RyanShaw, Apr 17, 2018.

  1. RyanShaw

    RyanShaw Witch

    Messages:
    69
    Hello! I was wondering how i would spawn more types of particles with EntityEventPacket, like the FIREWORK_PARTICLES for example. Anyone got any ideas how to do this?
     
  2. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    particles of spawned firework are client sided
     
  3. RyanShaw

    RyanShaw Witch

    Messages:
    69
    Does that mean i'm not able to spawn any of the extra particles here?
     
  4. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    you can. just send the packet
     
  5. Daniktheboss

    Daniktheboss Baby Zombie

    Messages:
    144
    GitHub:
    daniktheboss
    You need to send the firework packet
     
  6. RyanShaw

    RyanShaw Witch

    Messages:
    69
    But how do i correctly add one of these kinds of particles to a certain position in a level? I was thinking
    PHP:
     $level->broadcastEntityEvent(EntityEventPacket::DRAGON_PUKE); 
    But that wont work and idk if im on the right track or not.:oops:
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.