
onEvent('worldgen.add', event => {
/*
    event.addLake(lake => { // Create new lake feature
    lake.block = 'minecraft:diamond_block' // Block ID (Use [] syntax for properties)
    lake.chance = 3 // Spawns every ~3 chunks
})     */
event.addSpawn(spawn => { // Create new entity spawn
    spawn.category = 'monster' // Category, can be one of 'creature', 'monster', 'ambient', 'water_creature' or 'water_ambient'
    spawn.entity = 'bewitchment:hellhound' // Entity ID
    spawn.weight = 50 // Weight
    spawn.minCount = 1 // Min entities per group
    spawn.maxCount = 2 // Max entities per group
    spawn.biomes.values = [ // Biomes this ore can spawn in
        'minecraft:desert',
        'terrestria:dunes',
        'traverse:desert_shrubland' // Biome ID
              ]
}) 
event.addSpawn(spawn => { // Create new entity spawn
    spawn.category = 'monster' // Category, can be one of 'creature', 'monster', 'ambient', 'water_creature' or 'water_ambient'
    spawn.entity = 'bewitchment:vampire' // Entity ID
    spawn.weight = 50 // Weight
    spawn.minCount = 1 // Min entities per group
    spawn.maxCount = 1 // Max entities per group
    spawn.biomes.values = [ // Biomes this ore can spawn in
        'traverse:coniferous_forest', // Biome ID
        'terrestria:redwood_forest',
        'terrestria:hemlock_rainforest'
              ]
}) 
event.addSpawn(spawn => { // Create new entity spawn
    spawn.category = 'creature' // Category, can be one of 'creature', 'monster', 'ambient', 'water_creature' or 'water_ambient'
    spawn.entity = 'bewitchment:toad' 
    spawn.weight = 50 
    spawn.minCount = 1 
    spawn.maxCount = 1 
    spawn.biomes.values = [ 
        'terrestria:cypress_swamp'

              ]
})
event.addSpawn(spawn => { // Create new entity spawn
    spawn.category = 'creature' // Category, can be one of 'creature', 'monster', 'ambient', 'water_creature' or 'water_ambient'
    spawn.entity = 'bewitchment:raven' // Entity ID
    spawn.weight = 50// Weight
    spawn.minCount = 1 // Min entities per group
    spawn.maxCount = 2 // Max entities per group
    spawn.biomes.values = [ // Biomes this ore can spawn in
        'traverse:coniferous_forest', // Biome ID
        'terrestria:redwood_forest',
        'terrestria:hemlock_rainforest',
        'traverse:meadow',
        'traverse:woodlands',
        'terrestria:hemlock_clearing'
              ]
})
event.addSpawn(spawn => { // Create new entity spawn
    spawn.category = 'creature' // Category, can be one of 'creature', 'monster', 'ambient', 'water_creature' or 'water_ambient'
    spawn.entity = 'bewitchment:owl' // Entity ID
    spawn.weight = 50 // Weight
    spawn.minCount = 1 // Min entities per group
    spawn.maxCount = 1 // Max entities per group
    spawn.biomes.values = [ // Biomes this ore can spawn in
        'traverse:coniferous_forest', // Biome ID
        'terrestria:redwood_forest',
        'terrestria:hemlock_rainforest',
        'terrestria:hemlock_clearing',
        'terrestria:dense_woodlands'
              ]
})
})