Help for timers among other things

Discussion in 'Plugin Development' started by ark9026, Mar 2, 2015.

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

    ark9026

    Hello, I'm coding a tnt run like plugin, and I can't seem to figure out how to make a block change color if a player steps on it, and to make a block change color after a few seconds, and finally, to make a regular block fall like gravel.

    Also, to make blocks spawn at random times 1 block above the flat landscape a player is walking on at random points around a map.

    I have no code because I have no knowledge of how to do this.

    Thanks,
    Ark
     
  2. Offline

    Skionz

    Block#setType(Material)
     
  3. Offline

    ark9026

    Thanks, but I only want the block to change if a player walks on it, like tnt run
     
  4. Offline

    Skionz

  5. Offline

    ark9026

    Thanks! Do you also know about the random block spawning?

    Also, not working :(

    Bump, still not answered

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 13, 2016
Thread Status:
Not open for further replies.

Share This Page