Spawning falling sand with only Bukkit

Discussion in 'Plugin Development' started by matejdro, Feb 22, 2012.

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

    matejdro

    Is there a way to spawn falling sand with using only Bukkit classes (no CB)?
     
  2. Offline

    Taco

  3. Offline

    Ranzdo

    This might work (have not tryed it myself).

    Code:
    World.spawn(Location, FallingSand.class);
    Edit: Yea, it does not work...
     
  4. Offline

    matejdro

    Taco I'm looking something similar to you, to control velcoity of sand.

    Ranzdo it does not work, since you have to specify sand material when spawning it.
     
  5. Offline

    Taco

    FallingSand.class throws an error because it doesn't properly implement the net.minecraft class EntityFallingBlock.
     
  6. Offline

    matejdro

    I have realized now that my CB-based code also don't work (similar to yours) :(
     
  7. Offline

    Shamebot

  8. Offline

    matejdro

    Nope. I'm using same method (create EntitySand and add it to CraftWorld) and nothing happens. However it worked before.
     
  9. Offline

    Shamebot

Thread Status:
Not open for further replies.

Share This Page