World generation - place liquids and lights

Discussion in 'Plugin Development' started by MCMastery, Feb 14, 2020 at 10:28 PM.

  1. Offline

    MCMastery

    Hello, I am working on a world generator and I want to be able to place water and lava. Unfortunately, if I just use chunkData.setBlock(... Material.WATER) the water will not be updated, so it will just be a single block of water; because of this, waterfalls are impossible. Anyone know how to "update" the block to force it to spread?

    Also, this is a different issue, but I would also like to be able to place glowstone if possible. If you simply try to place the glowstone, the client won't render the lighting and it will all be dark. Bonus points if you know how to do that.

    Thank you!
     

Share This Page