Sapling Data

Discussion in 'Bukkit Help' started by Akreao, Jan 9, 2011.

Thread Status:
Not open for further replies.
  1. I was curious to know if I could get a placed sapling to instantly spawn a tree. I've looked at the classes Block and BlockState but I'm not too sure which to use, if either.
     
  2. Offline

    Nijikokun

    You'd want to watch for a placement, as soon as someone places a sapling grow a tree in that location.
     
  3. Okay I found the world class. Thanks.
     
  4. Offline

    Derek Peterson

    I did this by watching for the block placement, cancelling the event, and calling world.generateBigTree() on the location. It's pretty fun :)
     
  5. Offline

    feverdream

    Is the plugin being released? Its probably best if people are not forced to re-invent the wheel.. ;)
     
Thread Status:
Not open for further replies.

Share This Page