{"id":152963,"date":"2026-06-09T09:17:44","date_gmt":"2026-06-09T06:17:44","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/"},"modified":"2026-06-09T09:17:44","modified_gmt":"2026-06-09T06:17:44","slug":"temporal-api","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/","title":{"rendered":"Temporal API"},"content":{"rendered":"<p>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.<\/p>\n<p>The main goal of this mod is to make creating mods easier and more flexible!<\/p>\n<p>For working with our library you need to go to build.gradle and add this:<\/p>\n<p>&#8220;`<br \/>\nrepositories {<br \/>\n    maven {<br \/>\n        url &#8220;https:\/\/cursemaven.com&#8221;<br \/>\n    }<br \/>\n}<\/p>\n<p>dependencies {<br \/>\n    implementation fg.deobf(&#8220;curse.maven:temporalapi-970291:<file-id>&#8220;)<\/p>\n<p>    &#8230;<br \/>\n}<br \/>\n&#8220;`<\/p>\n<p>You need to replace <file id> with file id that can be found in the end of link of needed version of the mod file.<\/p>\n<p>The library for current state adds<\/p>\n<p>factories,<br \/>\ntag utils,<br \/>\ncreative tab utils,<br \/>\ntrading with villagers and wanderers customizer,<br \/>\nworld features utils,<br \/>\nitem properties utils,<br \/>\nfov modifier<br \/>\netc<br \/>\nFactory and Extensions<br \/>\nFactories are used to create RegistryObject objects and make their creation a lot easier.<\/p>\n<p>For using ItemFactory from API you need to create ItemFactoryFacade class like here: <\/p>\n<p>&#8220;`<br \/>\npublic class ModItemFactoryFacade extends ItemFactory {<br \/>\n    public ModItemFactoryFacade() {<br \/>\n        super(ModItems.ITEMS);<br \/>\n    }<br \/>\n}<br \/>\n&#8220;`<\/p>\n<p>Also you can extend your Factory Facade with Extensions from API or create your own Extension.<\/p>\n<p>Here are 2 examples of using SwordExtension (with this Extension creating of Sword becomes a lot easier):<\/p>\n<p>Like this:<\/p>\n<p>&#8220;`<br \/>\npublic class ModItemFactoryFacade extends ItemFactory implements SwordExtension {<br \/>\n    public ModItemFactoryFacade() {<br \/>\n        super(ModItems.ITEMS);<br \/>\n    }<br \/>\n}<br \/>\n&#8220;`<br \/>\nOr like this:<br \/>\n&#8220;`<br \/>\npublic class ModItemFactoryFacade extends ItemFactory implements SwordExtension {<br \/>\n    public ModItemFactoryFacade() {<br \/>\n        super(ModItems.ITEMS);<br \/>\n    }<\/p>\n<p>    public RegistryObject<SwordItem> createSword(String name, Object&#8230; args) {<br \/>\n        return SwordExtension.super.createSword(name, this, args);<br \/>\n    }<\/p>\n<p>    public RegistryObject<? extends SwordItem> createSword(String name, Supplier<? extends SwordItem> tTypedSupplier) {<br \/>\n        return SwordExtension.super.createSword(name, this, tTypedSupplier);<br \/>\n    }<br \/>\n}<br \/>\n&#8220;`<\/p>\n<p>So what about creating our object using this Facade class:<br \/>\n&#8220;`<br \/>\npublic class ModItems {<br \/>\n    public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(Registries.ITEM, &#8220;MOD_ID&#8221;);<br \/>\n    public static final ModItemFactoryFacade ITEM_FACTORY = new ModItemFactoryFacade();<\/p>\n<p>    public static final RegistryObject<Item> MY_ITEM_1 = ITEM_FACTORY.create(&#8220;my_item_1&#8221;);<br \/>\n    public static final RegistryObject<Item> MY_ITEM_2 = ITEM_FACTORY.create(&#8220;my_item_2&#8221;, new Item.Properties());<br \/>\n    public static final RegistryObject<Item> MY_ITEM_3 = ITEM_FACTORY.create(&#8220;my_item_3&#8221;, () -> new Item(new Item.Properties()));<\/p>\n<p>    \/\/First example of creating Facade object from up<br \/>\n    public static final RegistryObject<SwordItem> MY_SWORD_1 = ITEM_FACTORY.createSword(&#8220;my_sword_1&#8221;, ITEM_FACTORY, Tiers.STONE, 3, -2.4F);<br \/>\n    public static final RegistryObject<? extends SwordItem> MY_SWORD_2 = ITEM_FACTORY.createSword(&#8220;my_sword_2&#8221;, ITEM_FACTORY, () -> new SwordItem(Tiers.STONE, 3, -2.4F, new Item.Properties()));<\/p>\n<p>    \/\/Second example of creating Facade object from up<br \/>\n    public static final RegistryObject<SwordItem> MY_SWORD_3 = ITEM_FACTORY.createSword(&#8220;my_sword_3&#8221;, Tiers.STONE, 3, -2.4F);<br \/>\n    public static final RegistryObject<? extends SwordItem> MY_SWORD_4 = ITEM_FACTORY.createSword(&#8220;my_sword_4&#8221;, () -> new SwordItem(Tiers.STONE, 3, -2.4F, new Item.Properties()));<br \/>\n}<br \/>\n&#8220;`<br \/>\nNow lets&#8217;s look on args&#8230; array. It is an array of arguments for creating an object (Will be changed in future for better readability).<\/p>\n<p>Currently available Factories and extensions:<br \/>\n&#8220;`<br \/>\nItemFactory (ArrowExtension, BowExtension, BowlExtension, MusicDiscExtension, SmithingTemplateExtension, SwordExtension, AxeExtension, PickaxeExtension, ShovelExtension, HoeExtension)<br \/>\nBlockFactory (BushExtension, FlowerExtension, PottedFlowerExtension)<br \/>\nParticleFactory<br \/>\nEffectFactory<br \/>\nPaintingFactory<br \/>\nPotionFactory<br \/>\nSoundEventFactory<br \/>\nCreativeTabFactory<br \/>\nEntityFactory<br \/>\nTag Utils<br \/>\nTag utils focus on tag creating and making using tags easier.<br \/>\n&#8220;`<br \/>\nFor example if you want to create item tag you need to use ItemTagFactory:<br \/>\n&#8220;`<br \/>\npublic class MyItemTags {<br \/>\n    public static final TagFactory<Item> TAG_FACTORY = new ItemTagFactory(&#8220;MY_MOD_ID&#8221;);<\/p>\n<p>    public static final TagKey<Item> MY_TAG = TAG_FACTORY.createTag(&#8220;my_tag&#8221;);<br \/>\n}<br \/>\nCreative Tab Utils<br \/>\nCreative tab utils are used to add items to Creative Tab that you need.<br \/>\n&#8220;`<br \/>\nFirstly we need to go to our class that subscribed for mod events and add this function (inner part of method is just example):<br \/>\n&#8220;`<br \/>\n@SubscribeEvent<br \/>\npublic void addCreativeTabs(BuildCreativeModeTabContentsEvent event) {<br \/>\n    new SimpleTabAdder(event)<br \/>\n            .addAllToTab(CreativeModeTabs.INGREDIENTS, ModItems.MY_ITEM_1, ModItems.MY_ITEM_2, ModItems.MY_ITEM_3)<br \/>\n            .addAllToTab(CreativeModeTabs.COMBAT, ModItems.MY_SWORD_1, ModItems.MY_SWORD_2, ModItems.MY_SWORD_3);<br \/>\n}<br \/>\n&#8220;`<br \/>\nTrading with Villagers and Wanderers Utils<br \/>\nTemporalAPI makes trading a lot easier. Here is an example of it:<br \/>\n&#8220;`<br \/>\npublic static final TradeCustomizer tradeCustomizer = new SimpleTradeCustomizer();<\/p>\n<p>@SubscribeEvent<br \/>\npublic void customizeTradesWithVillagers(VillagerTradesEvent event) {<br \/>\n    tradeCustomizer.customize(event, new VillagerTrade(<br \/>\n            new TradingItemHolder(Items.ANDESITE, 2),<br \/>\n            new TradingItemHolder(Items.EMERALD, 3),<br \/>\n            new VillagerTradeDescription(<br \/>\n                    VillagerProfession.ARMORER, 1, 5, 5, 0.5f<br \/>\n            )<br \/>\n    ));<br \/>\n}<\/p>\n<p>@SubscribeEvent<br \/>\npublic void customizeTradesWithWanderers(WandererTradesEvent event) {<br \/>\n    tradeCustomizer.customize(event, new WandererTrade(<br \/>\n            new TradingItemHolder(Items.ANDESITE, 2),<br \/>\n            new TradingItemHolder(Items.EMERALD, 3),<br \/>\n            new WandererTradeDescription(<br \/>\n                    WandererTradeDescription.TradeRarity.RARE, 5, 5, 0.5f<br \/>\n            )<br \/>\n    ));<br \/>\n}<br \/>\n&#8220;`<br \/>\nWorld Features Utils<br \/>\nWill be expanded in the next updates.<\/p>\n<p>Item Properties Utils<br \/>\nAdding needed properties to bows, shields, etc.<br \/>\n&#8220;`<br \/>\n@SubscribeEvent<br \/>\npublic void clientSetup(final FMLClientSetupEvent event) {<br \/>\n    event.enqueueWork(() -> {<br \/>\n        TemporalItemProperties.makeBow(ModItems.MY_BOW_1);<br \/>\n        TemporalItemProperties.makeShield(ModItems.MY_SHIELD_1);<br \/>\n        TemporalItemProperties.makeCrossbow(ModItems.MY_CROSSBOW_1);<br \/>\n        TemporalItemProperties.putCompostable(ModBlocks.MY_FLOWER_1, 4);<br \/>\n    });<br \/>\n}<br \/>\n &#8220;`<br \/>\nFAQ:<\/p>\n<p>Will This Mod Be Getting A Fabric Version:<br \/>\nNo a fabric version is not planned<\/p>\n<p>Can I use this mod in my Modpacks:<br \/>\nYes, feel free to use this mod in any modpack!<\/p>\n<p>How Do I suggest features or report Bugs:<br \/>\nJoin our discord above for any comments, questions, suggestions, or problems!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Temporal API is the library for Team Temporal mods, other projects may use it as well.<\/p>\n","protected":false},"featured_media":152964,"template":"","meta":{"_minecraft_slug":"temporal-api","_minecraft_project_id":"JDtt43My","_minecraft_author":"Cyber_Rat","_minecraft_license":"LicenseRef-All-Rights-Reserved","_minecraft_downloads":133119,"_minecraft_follows":8,"_minecraft_client_side":"required","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"temporal-api.zip","_minecraft_size_bytes":481223,"_minecraft_version_count":4,"_minecraft_updated_at":"2026-05-16T22:46:11.109218Z","_minecraft_date_created":"2024-02-22T08:46:14.095816Z","_minecraft_date_modified":"2024-06-30T13:20:58.662137Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/temporal-api","_minecraft_icon_attachment_id":152964,"_minecraft_imported_at":"2026-06-09T06:17:46+00:00","_minecraft_import_hash":"4d0d7dea03f580f043bb888d26149cff","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[104,873],"mod_loader":[106],"minecraft_version":[36,60,93,94,101,102],"class_list":["post-152963","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-forge","mod_category-library","mod_loader-forge","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Temporal API - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Temporal API - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Temporal API is the library for Team Temporal mods, other projects may use it as well.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/temporal-api\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/temporal-api\\\/\",\"name\":\"Temporal API - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/temporal-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/temporal-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/temporal-api-icon-b0a54ed85a4fffe44c51a9d690f728df8925b9f6_96.webp\",\"datePublished\":\"2026-06-09T06:17:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/temporal-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/temporal-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/temporal-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/temporal-api-icon-b0a54ed85a4fffe44c51a9d690f728df8925b9f6_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/temporal-api-icon-b0a54ed85a4fffe44c51a9d690f728df8925b9f6_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/temporal-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Temporal API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Temporal API - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/","og_locale":"en_US","og_type":"article","og_title":"Temporal API - Minecraft","og_description":"Temporal API is the library for Team Temporal mods, other projects may use it as well.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/","name":"Temporal API - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/temporal-api-icon-b0a54ed85a4fffe44c51a9d690f728df8925b9f6_96.webp","datePublished":"2026-06-09T06:17:44+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/temporal-api-icon-b0a54ed85a4fffe44c51a9d690f728df8925b9f6_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/temporal-api-icon-b0a54ed85a4fffe44c51a9d690f728df8925b9f6_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/temporal-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Temporal API"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/152963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/152964"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=152963"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=152963"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=152963"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=152963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}