Temporal API
by CyberRat2
Temporal API is a Forge library for building Team Temporal mods, with helpers for item, tag and creative tab registration.
What it does
The library provides factories that create RegistryObject entries with less boilerplate. A mod author subclasses a factory facade, optionally adds extensions such as SwordExtension, and passes an argument array to build each object. Tag utilities, creative tab utilities, villager and wandering trader customization, world feature utilities, item property utilities and a field of view modifier are also included.
The library is the official base for the Team Temporal projects, and other modders and modpack creators may use it in their own work. Setup uses the mod's own event subscriber class, where the example registration method is added. Temporal API is not planned for Fabric, so only Forge builds exist. It runs on client and server, so the server and every player need it, and it is published for 1.20.1 – 1.20.6 under All rights reserved.
Key features
Object factories
Factories create RegistryObject entries for items and other objects, and reduce the code needed for each new registration.
Factory extensions
Extensions such as SwordExtension add preset properties, so a sword can be defined in a few lines.
Tag and creative tab utilities
Helpers create item tags, such as ItemTagFactory output, and register entries in creative tabs.
Trading customization
A customizer changes trades offered by villagers and wandering traders from the mod's own code.
Item property utilities
Properties such as durability or use behavior can be added to bows, shields and similar items.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 2 mods
Use cases
Creating items in a new mod
A mod author builds its item list through the factories and extensions rather than writing each registration by hand.
Adding trades
A modpack creator changes which items villagers and wandering traders sell, using the trading utilities.
Who it’s for: Mod authors who want shorter registration code for Forge, and modpack creators who plan to adjust villager trades.
Questions
Does Temporal API need to be installed on the server?
Which Minecraft versions does the latest file support?
Is the source code available?
In the catalog
Temporal API is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 11,154 mods support Minecraft 1.20.6.
More from CyberRat2
Similar mods
What the author says
Temporal API is the official library for the Team Temporal mods other projects and modders and modpack creators may use it for their projects as much as they like. The main goal of this mod is to make creating mods easier and more flexible!
Official listing
- Modrinth page
- modrinth.com/mod/temporal-api
- Owner
- CyberRat2
- Published
- 2024-02-15
- Updated on Modrinth
- 2024-06-30
- Facts verified
- 2026-10-15
