The Architectury API Mod (1.19.3, 1.18.2) is designed to make modding across multiple platforms much simpler for developers. After numerous iterations of implementation to perfect the system, this API allows developers to develop a single mod code base which can then be deployed across multiple devices with ease – no longer needing to rewrite code for every platform and allowing for greater efficiency when creating mods for multiple platforms at once. This makes the process of modding less time-intensive, potentially allowing developers to explore even more ambitious and complicated ideas in their work. With its wide range of usage applicability, the Architectury API is sure to be an invaluable asset in game development going forward.
One of the main features of the Architectury API is its version compatibility system. Instead of having to create a separate mod for each Minecraft version, developers can use the API to create a single mod that works across multiple versions. The API also provides a compatibility layer that allows mods to interact with each other more easily, reducing the likelihood of conflicts between mods.
‼️‼️ In addition to version compatibility, the Architectury API includes a variety of tools and utilities for mod developers, including:
- Networking utilities for communicating between client and server
- Command utilities for registering custom commands
- Configuration utilities for managing mod settings
- Item and block registration utilities for adding new items and blocks to the game
- Event handling utilities for intercepting game events
The Architectury API is open source and is actively developed by a community of Minecraft mod developers. It is compatible with both Fabric and Forge mod loaders, making it accessible to a wide range of Minecraft modders.
Furthermore, the Architectury API also provides support for data pack loading, allowing mod developers to easily load and manipulate data packs from within their mods. This makes it easier to add custom recipes, loot tables, advancements, and other game content.
The API also provides an abstraction layer for mod loaders, allowing developers to write their mods once and have them run on both Fabric and Forge without the need for separate codebases. This is achieved through the use of a common set of interfaces that are implemented differently for each mod loader.
Finally, the Architectury API also includes support for mod configuration synchronization across multiplayer servers. This allows server administrators to control which mod settings are allowed on their server and ensures that all clients have the same settings.
Overall, the Architectury API is a powerful tool for Minecraft mod developers, providing a wide range of features and utilities that simplify mod development and improve compatibility between mods. Its open source nature and active community of developers also make it a great resource for learning and sharing knowledge about Minecraft modding.
❓What is Architectury API
Architectury API is an api to abstract calls to fabric api and forge api as both loader has different implementations of what can be perceived as the same thing.
Architectury API updates regularly, with new hooks and features. Currently contains over 90 events hooks, networking abstraction, loader calls abstraction, game registry abstraction and an easy to use @ExpectPlatform annotation (Only works on static methods).
➡️Do I really need this API?
Architectury API is only one part of the architectury ecosystem, Architectury Plugin is the gradle plugin enabling all this multiplatform actions.
Architectury API is optional for projects built on architectury, you may create your architectury project with just Architectury Plugin.
➡️Advantages of Architectury
- Open sourced
- Less boilerplate for your multiplatform mod
🔥Get Started With Architectury
To get started, download templates from Architectury Templates and import it as a Gradle project.
You will want to change every reference of examplemod to your mod, this includes gradle.properies
, fabric.mod.json
, META-INF/mods.toml
, quilt.mod.json
(If Applicable), and relocate the classes. You will also need to change the access widener file name in common/build.gradle
.
🔔I don’t want Architectury API…
Remove lines related to Architectury API in each of the build.gradle
in common/
, fabric/
, and forge/
. They should look at this:
dependencies { // We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies // Do NOT use other classes from fabric loader modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}" // Remove the next line if you don't want to depend on the API - modApi "dev.architectury:architectury:${rootProject.architectury_version}" }
🔔I want Yarn instead…
Replace the line for the default Mojang Mappings in the root build.gradle
, with one that references Yarn instead:
subprojects { apply plugin: "dev.architectury.loom" loom { silentMojangMappingsLicense() } dependencies { minecraft "com.mojang:minecraft:${rootProject.minecraft_version}" - // The following line declares the mojmap mappings, you may use other mappings as well - mappings loom.officialMojangMappings() // The following line declares the yarn mappings you may select this one as well. - // mappings "net.fabricmc:yarn:@YARN_MAPPINGS@:v2" + mappings "net.fabricmc:yarn:@YARN_MAPPINGS@:v2" } }
⚙️How to install?
How To Download & Install Mods with Minecraft Forge
How To Download & Install Fabric Mods
Don’t miss out today’s latest Minecraft Mods
📥Architectury API Mod — Download Links
Name | Architectury API Mod |
Update on |
Feb 7, 2023
|
Developer |
shedaniel |
Get it on PC |
|
Leave a Reply