fn is_biome_allowed(biome: Biome) -> bool {
    match biome {
        Biome::TheEnd
        | Biome::TheVoid
        | Biome::Nether
        | Biome::SmallEndIslands
        | Biome::EndBarrens
        | Biome::EndHighlands
        | Biome::EndMidlands => false,
        _ => true,
    }
}
/// Returns whether the given biome is allowed in the overworld.
Returns whether the given biome is allowed in the overworld.
Returns whether the given biome is allowed in the overworld .
fn is_biome_allowed(biome: Biome) -> bool {
    match biome {
        Biome::TheEnd
        | Biome::TheVoid
        | Biome::Nether
        | Biome::SmallEndIslands
        | Biome::EndBarrens
        | Biome::EndHighlands
        | Biome::EndMidlands => false,
        _ => true,
    }
}
fn is_biome_allowed ( biome : Biome ) -> bool { match biome { Biome :: TheEnd | Biome :: TheVoid | Biome :: Nether | Biome :: SmallEndIslands | Biome :: EndBarrens | Biome :: EndHighlands | Biome :: EndMidlands => false , _ => true , } }
Returns whether the given biome is allowed in the overworld.
Returns whether the given biome is allowed in the overworld .
biome
Biome
biome
Biome