isValidBiome

public boolean isValidBiome(Object biomeObj)

Validates if a biome is in the list of valid biomes, handling both newer interface-based biomes and older class-based biomes.

Return

True if the biome is valid, false otherwise

Parameters

biomeObj

The biome to validate