The IBiome interface allows you to retrieve information on a registered Biome.

Importing the package

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
import crafttweaker.world.IBiome;

Calling an IBiome

You can get a list of all registered Biomes using game.biomes from IGame That is currently the only way


Atm, all you can do with an IBiome object is retrieving some information out of it:

ZenGetter Return Type
name String
canRain boolean
isSnowyBiome boolean
highHumidity boolean
spawningChance float
baseHeight float
heightVariation float
rainfall float
waterColorMultiplier int
ignorePlayerSpawnSuitability boolean
temperature float