SetBlock

Discussion in 'Plugin Development' started by ProStriker123, Jan 30, 2015.

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

    ProStriker123

    Sorry for this stupid question :p
    But i forgot how can i set a block at a location i choosed?
     
  2. Offline

    timmaker

    World#getBlockAt(location).setType(material);
     
    ProStriker123 likes this.
  3. Offline

    WinX64

    In case your have the Location object:
    Code:
    loc.getBlock().setType(whatever you want);
     
    timmaker and ProStriker123 like this.
  4. Offline

    ProStriker123

Thread Status:
Not open for further replies.

Share This Page