Changing door state

Discussion in 'Plugin Development' started by raGan., Feb 3, 2013.

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

    raGan.

    I'd like to know the most simple way of doing it, preferably using just bukkit API.

    Edit: ... I've found Door MaterialData, but it's deprecated for some reason.

    Does someone know about non-deprecated way ?
     
  2. Offline

    chasechocolate

  3. Offline

    adam753

    It's a bit of a fudge but could you not just toggle whether or not the door is redstone powered? That would change its state in the same way as changing it directly would, in theory.
     
  4. Offline

    raGan.

    I don't like redstone thing. Anything else I could do ? I was thinking about simulating player interaction, but I doubt it's possible without NMS code.
     
Thread Status:
Not open for further replies.

Share This Page