// WorldgenEvents.add((event) => global.arrzenhancedAddWorldGen(event))

// WorldgenEvents.remove((event) => global.arrzenhancedRemoveWorldGen(event))


// global.arrzenhancedAddWorldGen = (event) => {
//     console.log(event)
// }

// global.arrzenhancedRemoveWorldGen = (event) => {
//     /*
//     Valid WorldgenLayer values: 
//     'strongholds'
//     'underground_ores'
//     'underground_structures'
//     'top_layer_modification'
//     'fluid_springs'
//     'underground_decoration'
//     'raw_generation'
//     'lakes'
//     'vegetal_decoration'
//     'local_modifications'
//     'surface_structures'
//     */
//     // console.log(event)
//     let features = [
//         'arrzenhanced:downed_satellite'
//     ]
//     // event.printFeatures("surface_structures");
//     event.removeFeatureById('surface_structures', features)
//     // won't work, satellite's not a feature. its a structure
// }