Temperature API
by 32bitx64bit
Temperature API gives Fabric mod developers one standardized way to read temperature, body temperature and cold or heat resistance values.
What it does
Temperature API supplies a lightweight, fast interface for querying the temperature of a location, the temperature of a player's body, and how well an item resists cold or heat. Other mods can call it instead of building their own temperature logic. Developers can also register new biomes through a simple JSON file, so their biomes take part in the temperature system without custom code.
The library is built for Fabric and runs on client and server, so both sides need it. Fabric API is a required dependency. The mod is released under the MIT License and is open source, with a public source repository, issue tracker and wiki. Files exist for 1.20.1 and 1.21.11, and the latest Fabric file is 1.2.0 for 1.20.1, published on 2026-06-12.
Optional dependencies extend the API in specific ways. Biomes O' Plenty adds default biome temperatures and humidity, Dehydration is only relevant when the body temperature part of the API is in use, and Serene Seasons adds season compatibility and changes temperature with the season. Fabric seasons is not supported, and the author does not plan to add it, so Serene Seasons is the option for seasonal temperature changes.
Key features
Location temperature query
Code can read the temperature of a position in the world through a single API call.
Body temperature
The API exposes the temperature affecting a player's body, for mods that model heat and cold on characters.
Item cold and heat resistance
Items can carry cold and heat resistance values that other mods can read and act on.
JSON biome registration
New biomes are added with a JSON file, which lets developers set their temperature without writing Java.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 3
How it compares
TerraLib is a Fabric library that runs on client and server under the MIT License, for 1.21.1, and is not open source. Temperature API covers the wider range 1.20.1 – 1.21.11 and is open source under the same license. ¿Still There? AFK Screen is a Fabric, Forge and NeoForge mod released under the MIT License for 1.20.1 – 1.21.1, and it does not cover temperature at all. Madoku Craft: Core is a Fabric library that runs on client and server, open source under the GNU Lesser General Public License v3.0 only, for 1.21.1 – 26.3.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Temperature API | Fabric | 1.20.1 – 1.21.11 | Client and server | 2026-06-12 |
| TerraLib | Fabric | 1.21.1 | Client and server | 2026-05-06 |
| ¿Still There? AFK Screen | Fabric, Forge and NeoForge | 1.20.1 – 1.21.1 | Client-side only | 2026-04-19 |
| Madoku Craft: Core | Fabric | 1.21.1 – 26.3 | Client and server | 2026-10-13 |
Questions
Does Temperature API need Fabric API?
Does the library have to be installed on both sides?
How does Temperature API handle seasons?
In the catalog
Temperature API is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from 32bitx64bit
Similar mods
What the author says
Temperature API: What does it do? Adds a simple and fast API to get temperature, body temperature, items cold / heat resistance. Also allows mod developers to add their own biome through a simple json file.
Official listing
- Modrinth page
- modrinth.com/mod/temperature-api
- Owner
- 32bitx64bit
- Published
- 2025-09-19
- Updated on Modrinth
- 2026-06-12
- Facts verified
- 2026-10-15
