Spawning a Particle

Discussion in 'Plugin Development' started by CodeAX2, Jul 9, 2017.

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

    CodeAX2

    Hey there! I am working on a plugin and I need to be able to spawn the particle that goes whenever a block is broken. I currently have this:

    Code:
    Bukkit.getWorld(world).spawnParticle(Particle.BLOCK_CRACK, x, y, z, 10, 1, 1, 1, 1);
    This works to some extent. It plays where and how I want it to except one thing: the texture of the particle is that of an untextured block, and I want it to be the texture of a chest. How would I do that? Thanks!
     
  2. Offline

    iCodeTits

    Code:java
    1. Material.Chest


    Somewhere I think.
     
Thread Status:
Not open for further replies.

Share This Page