Climate Bindings
Bindings for interacting with TFC’s climate model system
declare class CilmateBindings {
// These can be accessed via TFC.climate.*
getModel(level: Level): ClimateModel
getCurrentTemperature(level: Level, pos: BlockPos): number
getAverageTemperature(level: Level, pos: BlockPos): number
getCurrentRainfall(level: Level, pos: BlockPos): number
getAverageRainfall(level: Level, pos: BlockPos): number
getRainfallVariance(level: Level, pos: BlockPos): number
getCurrentGroundwater(level: Level, pos: BlockPos): number
getAverageGroundwater(level: Level, pos: BlockPos): number
getCurrentWind(level: Level, pos: BlockPos): Vec2
getFogginess(level: Level, pos: BlockPos): number
}
: Gets the.getModel(level: Level)ClimateModelof the level
: Gets the current temperature at the level and position.getCurrentTemperature(level: Level, pos: BlockPos)
: Gets the average temperature at the level and position.getAverageTemperature(level: Level, pos: BlockPos)
: Gets the current rainfall at the level and position.getCurrentRainfall(level: Level, pos: BlockPos)
: Gets the average rainfall at the level and position.getAverageRainfall(level: Level, pos: BlockPos)
: Gets the rainfall variance at the level and position.getRainfallVariance(level: Level, pos: BlockPos)
: Gets the current groundwater at the level and position.getCurrentGroundwater(level: Level, pos: BlockPos)
: Gets the average groundwater at the level and position.getAverageGroundwater(level: Level, pos: BlockPos)
: Gets the current wind vector at the level and position.getCurrentWind(level: Level, pos: BlockPos)
: Gets the current fogginess at the level and position.getFogginess(level: Level, pos: BlockPos)