How to create a block?

I am creating my first simple plugin, so i don’t know how to set block in the world using coordinates. I had lost about 2 hours on javadocs, but didn’t find the way yet. Is there any methods or what? I only found the way to get the block using its location, but not to set it.

Reading the Sponge Documentation is a good starting point for this.

This is a link to the exact page you need, but I recommend also going through the rest of it.

Link to Block