Architectury API Мод для Minecraft 1.20.1, 1.21.1
Проміжний api, покликаний полегшити розробку мультиплатформних модів.
Про мод Architectury API
Спілкуйтеся з нами в Discord!
Проміжний API, покликаний полегшити розробку мультиплатформених модів.
Що таке Architectury API
Architectury API — це API для абстрагування викликів до fabric api та forge api, оскільки обидва завантажувачі мають різні реалізації того, що можна вважати одним і тим самим.
Architectury API регулярно оновлюється, додаючи нові хуки та функції. Наразі містить понад 90 хуків подій, абстракцію мережевої взаємодії, абстракцію викликів завантажувача, абстракцію ігрового реєстру та просту у використанні анотацію @ExpectPlatform (працює лише зі статичними методами).
Чи справді мені потрібен цей API?
Architectury API — це лише одна частина екосистеми architectury, Architectury Plugin — це gradle-плагін, що уможливлює всі ці мультиплатформені дії.
Architectury API є необов'язковим для проєктів, створених на architectury, ви можете створити свій проєкт architectury лише з Architectury Plugin.
Переваги Architectury
- Відкритий код
- Менше шаблонного коду для вашого мультиплатформеного моду
Початок роботи зі створення мультиплатформених модів
Architectury Loom: https://github.com/architectury/architectury-loom (форк Fabric Loom, що додає можливості мультиплатформеної розробки)
Gradle Plugin: https://github.com/architectury/architectury-plugin (включає Architectury Injectables для анотації @ExpectPlatform)
Example Mod: https://github.com/architectury/architectury-example-mod (застарілий приклад моду з використанням Architectury, за можливості використовуйте натомість шаблони)
Mod Templates: https://github.com/architectury/architectury-templates (набір шаблонів для початку використання інструментарію Architectury)
Приклад: Використання @ExpectPlatform
Подяки
У деяких старіших версіях ця бібліотека включала typetools; її ліцензію можна знайти тут
Як встановити Architectury API
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.16–26.3 on Fabric, Forge or NeoForge automatically, together with its dependencies: Fabric API.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 26.3. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file architectury-fabric-22.0.5.jar (608 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Fabric API.
Launch the loader profile
Open “Mods” in the main menu: Architectury API should be in the list.
On a server
A server on Fabric, Forge or NeoForge
The mod only works on a server with the same loader and game version, for example 26.3.
File goes into the server’s mods folder
Stop the server, put the mod file into the mods folder and start the server again.
Use the “To server” button
On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.
Версії
Із залежностями
| Minecraft | Завантажувач | Файл | Дата | Дії |
|---|---|---|---|---|
| 26.3 | Fabric | 26.3608 КБ 160 | ||
| 26.3 | NeoForge | 26.3608 КБ 14 | ||
| 26.2 | Fabric | 26.2610 КБ 65 | ||
| 26.2 | NeoForge | 26.2607 КБ 1 | ||
| 26.1.2 | NeoForge | 26.1.2604 КБ | ||
| 26.1.2 | Fabric | 26.1.2608 КБ 22 | ||
| 26.3 | NeoForge | 26.3608 КБ 1 | ||
| 26.3 | Fabric | 26.3608 КБ 20 |
Що потрібно для запуску
- Fabric APIобов'язково
Часті питання
Which Minecraft versions does Architectury API work on?
There are files for 1.16–26.3, 20 versions in total. The newest is 26.3.
Is Architectury API for Forge or Fabric?
There are files for Fabric: 26.1.2–26.3, for Forge: 1.16–1.20.1 and for NeoForge: 1.20–26.3.
What does Architectury API need to work?
Required: Fabric API. Without it the mod will not start: dependencies go into the same mods folder.
Does Architectury API work on a server?
Yes. Architectury API works both in singleplayer and on a server.
Where can I download Architectury API safely?
On this page: the file architectury-fabric-22.0.5.jar (608 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 8c5f566e32bd47fbb80be4932b9be1cfa97c4e3a.
Відгуки
Станьте першим, хто оцінить Architectury API


