How do I set a block to a material? I already have declared a location, and the x, y, and z values of the block I would like to change . Please help!
oooooh so this would work: Code: Int x = 1; Int y = 1; Int z = 1; Block block = World.getBlockAt(x, y, z); block.setType(oak_log); and set the block at (1,1,1) to an oak log.