Regenerate blocks ?

Discussion in 'Plugin Development' started by Plugers11, May 16, 2014.

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

    Plugers11

    How to regenerate blocks after 20 minutes ?
    And if player break block
    Then add this to hashmap
    But how set to old state ?
     
  2. Offline

    Konkz

    PogoStick29 made a tutorial on this not long ago, you'll have to change it to fit your needs
    but it should lead you the right direction.

     
  3. Offline

    Plugers11

    Konkz
    Yes but this is for exploding
    I was making TheWalls plugin
    I must have regenerating on blockplace and blockbreak ;/
     
  4. Offline

    Konkz

    All I can say Plugers11
    Also, another hint if you really need it: Save block location on break and such.
     
  5. Offline

    AwzumSauze

  6. Offline

    ZodiacTheories

    Plugers11

    Can't you just use

    Code:java
    1. event.setCancelled(true);


    while listening to the blockbreakevent and the blockplaceevent?
     
  7. Offline

    Binyon13

Thread Status:
Not open for further replies.

Share This Page