diff --git a/src/main/java/ca/recrown/islandsurvivalcraft/world/BiomeSelector.java b/src/main/java/ca/recrown/islandsurvivalcraft/world/BiomeSelector.java index a9c6c09..c784ddc 100644 --- a/src/main/java/ca/recrown/islandsurvivalcraft/world/BiomeSelector.java +++ b/src/main/java/ca/recrown/islandsurvivalcraft/world/BiomeSelector.java @@ -172,6 +172,14 @@ public class BiomeSelector { return Biome.BEACH; } + public boolean isOceanBiome(Biome biome) { + return oceans.containsKey(biome); + } + + public boolean isLandBiome(Biome biome) { + return !isOceanBiome(biome); + } + /** * Randomly selects a land biome that fits in given temperature. * @param temperature Minecraft temperature to select biome from.