onEvent('worldgen.add', event => {
event.addLake(lake => {
lake.id = 'kubejs:oil_lake'
lake.chance = 10
lake.fluid = 'beyond_earth:oil'
lake.barrier = 'minecraft:grass_block'
})
})
I got the script from the wiki and it doesn't create a lake
https://wiki.latvian.dev/books/kubejs-legacy/page/worldgen-events
If anyone already has a script made that works for me I would appreciate it
These following examples will only work on 1.18+! If you need examples for 1.16, you can look here i...