Helix particle effect for projectile

Discussion in 'Plugin Development' started by AKZOBIE74, Nov 2, 2014.

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

    Skionz

    Did you get the library?
     
  2. Offline

    CentrumGuy

  3. Offline

    AKZOBIE74

    Skionz CentrumGuy Yes i already got the packet and it said "The method 'display' doesn't exist".
     
  4. Offline

    ChipDev

    ParticleEffect.ENUM.display()
     
  5. Offline

    AKZOBIE74

  6. Offline

    ChipDev

    show me a picture
     
  7. Offline

    AKZOBIE74

    ChipDev when i hover over "display" it gives me this message "Cannot resolve method 'display(org.bukkit.Location, int, int, int, float, int)'". Here is the image.
    [​IMG]
     
  8. Offline

    ChipDev

    ParticleEffect.display() ;)
    AKZOBIE74
    EDIT: ParticleEffect.effect.display()
     
  9. Offline

    AKZOBIE74

  10. Offline

    ChipDev

    That does not help me at all.. Give me the error and your code.
    AKZOBIE74 :p

    Using a runnable.
    You always brag about your skills, and then don't give us the code.
    beat
    [torch]

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

    AKZOBIE74

    ChipDev ok ParticleEffect is effect it is defined in the code and ENUM is not in the ParticleEffect enum
     
  12. Offline

    Skionz

  13. Offline

    AKZOBIE74

    Skionz i dont know how to use packets
     
  14. Offline

    ChipDev

    Oh my god. Im not going to spoon feed you, ENUM won't be in the enum. ParticleEffect particle is the Enum you should use.
     
  15. Offline

    coco5843

    ChipDev Lol you're right , but I can't give this code , I sold a plugin with it
     
  16. Offline

    AKZOBIE74

  17. Offline

    ChipDev

    What is your CODE and your ERROR Please?
     
  18. Offline

    AKZOBIE74

    ChipDev ok so i put in this code "effect.RED_DUST.display(loc2, 0, 0, 0, Speed, 1)" but the method "display" still cant be resolved.
     
  19. Offline

    ChipDev

    ParticleEffect instead of effect :p
     
  20. Offline

    AKZOBIE74

    ChipDev I ended up with the same result. The problem is there is no such thing as the "display" method.
     
  21. Offline

    Skionz

    AKZOBIE74 What library are you using? Give me a link. Or better yet... Use packets :)
    There are plenty of particle tutorials out there.
     
    ChipDev likes this.
  22. Offline

    AKZOBIE74

  23. Offline

    Skionz

    AKZOBIE74 Aren't you getting a ton of syntax errors in the pasted class?
     
  24. Offline

    AKZOBIE74

  25. Offline

    Skionz

    AKZOBIE74 That library is way outdated. The name of the particle packet class has changed so you should be getting a bunch of errors lol
     
  26. Offline

    AKZOBIE74

    Last edited by a moderator: Jun 14, 2016
  27. Offline

    ChipDev

    It requires 2 classes.
     
  28. Offline

    AKZOBIE74

    ChipDev I have two classes one is called "ParticleEffect" and the other is called "ReflectionUtils".
     
  29. Offline

    ChipDev

    ok, good.
    You do not have enough arguments, try this:
    Code:java
    1. ParticleEffect.RED_DUST.display((float)0, (float)0, (float)0,(float) 0.0, 1, <YOURLOCATION>, 50);
     
  30. Offline

    AKZOBIE74

    ChipDev Thanks now i am not getting an errors i am going to go try it out.
     
    ChipDev likes this.
Thread Status:
Not open for further replies.

Share This Page