Removing a block?

Discussion in 'Plugin Development' started by Kr1sc, Jan 31, 2011.

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

    Kr1sc

    How do I remove a block from the world?
     
  2. Offline

    robhol

    Set its material type to AIR, or the type ID to 0.
     
  3. Offline

    Kr1sc

    Thought so, thanks.

    And instead of making another thread - what listener is responsible for Event.Type.ITEM_SPAWN? I can't seem to find the handler method.
    --- merged: Jan 31, 2011 11:12 AM ---
    Nvm: http://wiki.bukkit.org/Event_Types
    Just found the wiki. Was WorldListener - though it seems to not exist in my build.
     
  4. Offline

    NathanWolf

    I searched through all the Bukkit and Craftbukkit source, the enum declaration is the only reference to ITEM_SPAWN.

    Must not be implemented yet! :(
     
Thread Status:
Not open for further replies.

Share This Page