Set block

Discussion in 'Plugin Development' started by Jay23, Jul 29, 2014.

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

    Jay23

    How would I set a block? Say, run a command like /x and specific block gets replaced or changed to a different block.
     
  2. Offline

    Flamedek

    Jay23 Get the Block object of the block you want to change. then do .setType(Material)
     
    Jay23 likes this.
Thread Status:
Not open for further replies.

Share This Page