Skip to content

Architectury API Mod do Minecraft 1.20.1, 1.21.1

Pośrednie API mające na celu ułatwienie tworzenia modów wieloplatformowych.

Na serwerze
pobrań
875 pobrań
wyświetleń
4544 wyświetleń
Zaktualizowano
Zaktualizowano 10.10.2026

O modzie Architectury API

Porozmawiaj z nami na Discordzie!

Pośrednie API mające na celu ułatwienie tworzenia modów multiplatformowych.

Czym jest Architectury API

Architectury API to API abstrahujące wywołania do fabric api i forge api, ponieważ oba loadery mają różne implementacje tego, co można postrzegać jako to samo.

Architectury API jest regularnie aktualizowane, wraz z nowymi hookami i funkcjami. Obecnie zawiera ponad 90 hooków zdarzeń, abstrakcję sieci, abstrakcję wywołań loadera, abstrakcję rejestru gry oraz łatwą w użyciu adnotację @ExpectPlatform (działa tylko na metodach statycznych).

Czy naprawdę potrzebuję tego API?

Architectury API to tylko jedna część ekosystemu architectury, Architectury Plugin to wtyczka gradle umożliwiająca wszystkie te multiplatformowe działania.

Architectury API jest opcjonalne dla projektów zbudowanych na architectury, możesz stworzyć swój projekt architectury z samym Architectury Plugin.

Zalety Architectury

  • Otwarte źródła
  • Mniej powtarzalnego kodu dla twojego moda multiplatformowego

Pierwsze kroki z tworzeniem modów multiplatformowych

Architectury Loom: https://github.com/architectury/architectury-loom (fork Fabric Loom dodający możliwości tworzenia multiplatformowego)

Gradle Plugin: https://github.com/architectury/architectury-plugin (zawiera Architectury Injectables, dla adnotacji @ExpectPlatform)

Przykładowy Mod: https://github.com/architectury/architectury-example-mod (wycofany przykładowy mod używający Architectury, jeśli to możliwe, użyj zamiast tego szablonów)

Szablony Modów: https://github.com/architectury/architectury-templates (zestaw szablonów do rozpoczęcia pracy z narzędziami Architectury)

Przykład: Użycie @ExpectPlatform

Podziękowania

W niektórych starszych wersjach ta biblioteka zawierała typetools; jej licencję można znaleźć tutaj

Jak zainstalować Architectury API

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. 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.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. 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.

  2. 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.

  3. 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.

  4. Launch the loader profile

    Open “Mods” in the main menu: Architectury API should be in the list.

On a server

  1. 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.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. 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.

Wersje

Z zależnościami

MinecraftLoaderPlikDataAkcje
26.3Fabric26.3608 KB 174
26.3NeoForge26.3608 KB 15
26.2Fabric26.2610 KB 67
26.2NeoForge26.2607 KB 1
26.1.2NeoForge26.1.2604 KB 1
26.1.2Fabric26.1.2608 KB 25
26.3NeoForge26.3608 KB 1
26.3Fabric26.3608 KB 20

FAQ

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.

Opinie

Oceń Architectury API jako pierwszy

Komentarze 0

Zaloguj się, aby komentowaćZaloguj się

Podobne mody

Wszystkie mody

Więcej o tym

Autor: shedanielLicencja: LGPL-3.0-onlyKod źródłowy

Jesteś autorem? Napisz do nas — usuniemy w ciągu 48 godzin.