[Util] FireworkEffectPlayer v1.0

Discussion in 'Resources' started by codename_B, Dec 30, 2012.

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


    I'm using 1.7.5 and its not working... Don't have any crashes in the console, but the firework not work...
  2. Offline


    Jheez don't make it hard for him, he already stated he is using 'try' , bro xD

    Why.. is this in.. bPermissions?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 30, 2016
  3. Offline



    So this is a little strange, but on occasion the firework effect won't actually play. Now if there were multiple, I could understand since you pointed out the limit for the client, however this is a single explosion :/
  4. Offline


    Dont... we all know that we ain't cats?
  5. Offline


    He probably put it in there to test it.

    Don't use this, just spawn a firework and call .detonate() on it. This was made before that method existed.
  6. Offline


    Garris0n Yup. And (no harm meant) but .detonate() is actually better than this method though this came out first.
  7. Offline


    THANKS SO MUCH! Before finding this i thought it was impossible!
  8. Offline


    I am trying to use this class, but when I try to trigger a firework nothing happens.

    Here is my code:
        public void fireWork(Player p) throws Exception{
            FireworkEffect fe = (FireworkEffect.builder().withColor(Color.RED).with(Type.BALL_LARGE).build());
            FireworkEffectPlayer fplayer = new FireworkEffectPlayer();
            fplayer.playFirework(p.getWorld(), p.getLocation(), fe);
  9. Offline


  10. Offline



    Do you know where current info is?
Thread Status:
Not open for further replies.

Share This Page