Library [1.8] ParticleEffect v1.7

Discussion in 'Resources' started by DarkBladee12, Jun 20, 2013.

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


    Yeah, I found that out after I asked you guys. But thanks anways :D
  2. Offline


    Can you tell me why this code displays particles only for 20 blocks and then they disappear?
            List<Entity> nearEntities = entity.getNearbyEntities(range, range, range);
            List<Player> nearPlayers = new ArrayList<Player>();
            for(Entity entity:nearEntities){
                if(entity instanceof Player)
            effect.display(0F, 0F, 0F, effectMeta.getSpeed(), effectMeta.getAmount(), entity.getLocation(),nearPlayers);
  3. Offline


    Hmm I seem to be having a problem with the radius even if I set the radius value to 50. I seems to only display in a 20 block radius or so. I am using Bukkit 1.8.8. Any Ideas?
  4. Offline


            p.sendMessage(ChatColor.GREEN + "Particle Disabled!");
            return true;
        int redstonetask = Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
            public void run() {
            ParticleEffect.BLOCK_CRACK.display(new BlockData(Material.STONE, (byte) 0), 1F, 1F, 1F, 1F, 1, p.getLocation(), 30);   
            }, 0, 1L);
            REDSTONE.put(p.getName(), redstonetask);
    @DarkBladee12 I got some problems with ParticleEffect Block Crack. When I use new BlockData it is red underlined. Hopefully you can help me!
  5. Offline


    What does the IDE says? BTW.: You shouldn't use this lib. It's very easy to send packets yourself, and this library has some bad code in it.
  6. Offline


    @mcdorli it's says BlockData cannot be resolved to a type.
  7. Offline


    I don't see any problem here. Try to save.
  8. Offline


    @mcdorli when I save it the error still stays there.
  9. Offline


    you need to import <your package with the lib>.ParticleEffect.BlockData;
  10. Offline


  11. I have used this library for my 1.8 plugin that is used on 1.7.10 servers that use a certain mod.
    The Lib works fine on my 1.7.9 test server, however it has been reported to not work on 1.7.10 cauldron servers.

    Do you know anything about this and is there any reason why it would work on 1.7.9 & 1.8 but not 1.7.10??
    Or do you have any 1.7.10 old classes please? I find Jenkins really hard to navigate but i still think they are all 1.8.

    Thanks, here was there error:

    There Server version:

    Thanks, please reply ASAP
  12. Offline


    Cauldron is not 100% bukkit. That's it. There is no particle packet in it
  13. Lost my plugin along with the rewritten version of this library during a Windows reinstall (the one folder I forgot to backup :(). I've started rewriting it again, and I'm wondering if the whole point of the initialize() method in ParticlePacket is just for some laziness? If so, that would make a whole lot more sense that it did before I knew what laziness was :p
  14. Offline


    How can I color my redstone :O?
  15. Offline


    Take a look at this class.
    HeavyMine13 likes this.
  16. Offline


    The initialize Method is there, because you can call it when your plugin enables and catch the exception and then do something special like disabling it again or sending a warning message. That's also why it's public^^

    Tell me which parts of the code are bad and i'll work on making them better ;)
  17. How can i make the REDSTONE Dust with different colors?
  18. Offline


    ParticleEffect.REDSTONE.display(new ParticleEffect.OrdinaryColor(Color.fromRGB(red, green, blue)), location1, 50);
  19. Offline


    I get the error on
    PacketType isn't picking up anything.
    And that is in the ParticleEffect class.
    Last edited: Mar 31, 2016
  20. Offline


    How would you make a particle force? You know like the command. For eksampel: /particle explode ~ ~ ~ 0 0 0 0.1 10 force
  21. Offline


    I don't understand what ypu mean?
  22. Offline


    If you type the command i wrote you can se the particles anywhere you are in the world, but if you're dont write the force you would only see the particles if you stand a few blocks away from them... So my quest is how i would do that with code... I hope you understood my question and thanks for answering :D
  23. Offline


    Use Boolean.parseBoolean(<The last argument you got from the command>), this way you can get if the player typed in true or false, then you simply pass this to the constructor.
  24. Offline


    Where do I download this?
  25. Offline


    There's a link to a jenkins page at the end of the first paragraph.
  26. Offline


    @mcdorli Again thanks for answering, but it wosen't that i ment. I just mean when your play the particles you can only see them a few blocks a away and my question is how do i do so i can see them from a far distance away???
    I'm really sorry if it was my bad english it's not my national langues ;)
  27. Offline


    Set the visibility to very high. 256 (the default value) is 16 chunks, that should be enoug IMO.
  28. Offline


    Ohhh... That is what range is. Now it all make sence. I thought it was how big the particle cloud should be, if you know what i mean... Thanks
  29. Offline


    I tried it, the link doesn't work for me. Probably a connection issue.
  30. Offline


    Nope, the link is broken. Anywhere else I can download?
Thread Status:
Not open for further replies.

Share This Page