Ametrin API
Ametrin API is a library for Forge and NeoForge mod developers, providing helpers for data generation, block classes, portal and tree creation, and value conversion.
What it does
Developers who build content on top of it get shared code for common tasks. Its data generation helpers cover loot and other data files, and it includes prebuilt block classes such as double plants, ageable bushes, heads and torches. Tree and sapling creation, along with the creation of netherlike portals, are handled by its utilities as well.
Two conversion helpers are included: one for time values and one for colors. A terrain analyzer tool, taken from the Dungeons Enhanced project, is part of the package too. The library is required by four other mods, including Block Variants and Fancy Food, so those mods need it installed alongside them.
Because the environment is client and server, both the server and every player need the library. Builds exist for Forge and NeoForge across 18 release versions, 1.19.4 – 26.3, and the code is open source under the MIT License.
Key features
Data generation helpers
Utilities for producing loot and other data generation output, so mod authors write less boilerplate.
Prebuilt block classes
Ready-made block types, including double plants, ageable bushes, heads and torches, that mods can extend.
Portal and tree creation
Helpers for building netherlike portals and for generating trees and saplings in a mod.
Time and color conversion
Functions that convert time values and color values between the formats mods commonly use.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x11 of 11 versions with builds
1.20.x1 of 1 version with builds
1.19.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 4 mods
Questions
Does Block Variants need Ametrin API?
Which loaders does Ametrin API support?
Does Ametrin API have to be installed on the server?
In the catalog
Ametrin API is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 8,071 mods support Minecraft 26.3.
More from Ametrin Studios
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/ametrin
- Owner
- Ametrin Studios
- Published
- 2023-12-23
- Updated on Modrinth
- 2026-10-09
- Facts verified
- 2026-10-15
