O modzie YUNG's API
To mod biblioteczny dla modów YUNG.
Do wszystkich moich współtwórców modów - to zapewnia mnóstwo przydatnych rzeczy, zwłaszcza jeśli tworzysz mody generujące świat!
API obejmuje następujące elementy:
- System AutoRegistration (tylko 1.18+). Zarejestruj dowolne pole za pomocą prostej adnotacji, niezależnie od loadera modów!
- Własna reimplementacja Jigsaw Manager z ulepszoną wydajnością oraz niestandardowymi typami elementów puli z różnymi nowymi właściwościami. Zobacz kod Better Dungeons, aby zobaczyć ją w akcji.
- Nowy wyzwalacz kryteriów do bezpiecznego lokalizowania dowolnej struktury. Jeśli podana struktura nie istnieje, wyzwalacz po prostu zawodzi, zamiast natychmiast przechodzić (w przeciwieństwie do vanilla).
- Interfejsy do serializacji i deserializacji JSON z wbudowanymi adapterami typów.
- Proste, lekkie narzędzia matematyczne dla wektorów i pozycji kolumnowych
- BlockStateRandomizer i ItemRandomizer, abstrakcje danych, które sprawiają, że dodawanie losowości bloków i przedmiotów do twoich struktur jest niezwykle proste. Używam ich we wszystkich moich modach!
Jeśli jesteś ciekaw, możesz sprawdzić kod moich modów (zwłaszcza tych nowszych), aby zobaczyć, jak to działa. Śmiało zadawaj mi pytania na Discordzie!
Jak zainstalować YUNG's 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.21–26.1.2 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.1.2. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file YungsApi-26.1.2-NeoForge-6.1.3.jar (429 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: YUNG's 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.1.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.
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
| Minecraft | Loader | Plik | Data | Akcje |
|---|---|---|---|---|
| 1.21.1 | NeoForge | 1.21.1404 KB 125 | ||
| 1.21.1 | Forge | 1.21.11 MB 12 | ||
| 1.21.1 | Fabric | 1.21.11.2 MB 132 | ||
| 26.1.2 | NeoForge | 26.1.2429 KB 3 | ||
| 26.1.2 | Fabric | 26.1.21.2 MB 38 | ||
| 1.21.1 | NeoForge | 1.21.1381 KB 1 | ||
| 1.21.1 | Forge | 1.21.1390 KB | ||
| 1.21.1 | Fabric | 1.21.11.2 MB |
Co jest potrzebne do działania
- Fabric APIwymagane
Materiały, które tego wymagają
FAQ
Which Minecraft versions does YUNG's API work on?
There are files for 26.1.2, 26.1.1, 1.21.1, 1.21. The newest is 26.1.2.
Is YUNG's API for Forge or Fabric?
There are files for Fabric: 1.21–26.1.2, for Forge: 1.21–1.21.1 and for NeoForge: 1.21–26.1.2.
What does YUNG's API need to work?
Required: Fabric API. Without it the mod will not start: dependencies go into the same mods folder.
Does YUNG's API work on a server?
Yes. YUNG's API works both in singleplayer and on a server.
Where can I download YUNG's API safely?
On this page: the file YungsApi-26.1.2-NeoForge-6.1.3.jar (429 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: cdbb07baa0e99178d95a85e23ad1d443c2230808.
Opinie
Oceń YUNG's API jako pierwszy



