Changing door state

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

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


    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


  3. Offline


    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


    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