NMS World addParticle portal problem

Discussion in 'Plugin Development' started by iamdansker, Jan 21, 2013.

Thread Status:
Not open for further replies.
  1. So i am trying to create the same effect that a nether portal would create, but i can't seem to get it to work.
    This is the code i used
    Code:
            CraftWorld world = (CraftWorld)location.getWorld();
            world.getHandle().addParticle(
                    "portal",
                    location.getX(),
                    location.getY() + random.nextDouble() * 2.0D,
                    location.getZ(),
                    random.nextGaussian(),
                    0.0D,
                    random.nextGaussian());
    (the code is also seen here https://github.com/Bukkit/CraftBukk...va/net/minecraft/server/EntityEnderPearl.java)

    This does absolutely nothing and i'v searched everywhere and can't seem to find the issue.
     
  2. Offline

    ienze

    ..yes, there is that method, but only client using it (there don't exis packet for effects, only sounds)
     
  3. I see.
    Thanks for the info
     
Thread Status:
Not open for further replies.

Share This Page