[Util] FireworkEffectPlayer v1.0

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

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

    gabrielhowat

    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

    ChipDev

    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

    valon750

    codename_B

    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

    ChipDev

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

    Garris0n

    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

    DevRosemberg

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

    -TheCreater-

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

    Elimnator

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

    Here is my code:
    Code:
        public void fireWork(Player p) throws Exception{
            System.out.println("FireWork");
            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

    Regablith

  10. Offline

    Elimnator

    Regablith

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

Share This Page