YUNG's API Mod cho Minecraft 1.21.1, 1.21
Mod thư viện cho các mod của YUNG.
Giới thiệu mod YUNG's API
Đây là một mod thư viện dành cho các mod của YUNG.
Dành cho tất cả các nhà phát triển mod ở ngoài kia - Thứ này cung cấp rất nhiều thứ hữu ích, đặc biệt nếu bạn là người làm mod về worldgen!
API bao gồm những thứ sau:
- Hệ thống AutoRegistration (chỉ dành cho 1.18+). Đăng ký bất kỳ trường nào chỉ với một annotation đơn giản, bất kể mod loader là gì!
- Bản tái triển khai tùy chỉnh của Jigsaw Manager với hiệu năng được cải thiện và các loại pool element tùy chỉnh với nhiều thuộc tính mới khác nhau. Hãy xem mã của Better Dungeons để thấy nó hoạt động.
- Trigger tiêu chí mới để xác định vị trí bất kỳ cấu trúc nào một cách an toàn. Nếu cấu trúc đã cho không tồn tại, trigger sẽ đơn giản là thất bại thay vì đạt ngay lập tức (khác với vanilla).
- Các interface cho việc tuần tự hóa & giải tuần tự hóa JSON với các type adapter tích hợp sẵn.
- Các tiện ích toán học đơn giản, nhẹ cho vector và vị trí cột
- BlockStateRandomizer và ItemRandomizer, các trừu tượng hóa dữ liệu giúp việc thêm ngẫu nhiên hóa block và item vào cấu trúc của bạn trở nên cực kỳ đơn giản. Tôi dùng những thứ này cho tất cả các mod của mình!
Nếu bạn tò mò, bạn có thể xem mã của các mod của tôi (đặc biệt là những mod mới hơn) để hiểu cách mọi thứ hoạt động. Cứ thoải mái hỏi tôi bất kỳ câu hỏi nào trên Discord!
Cách cài đặt 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.
Phiên bản
Kèm phụ thuộc
| Minecraft | Loader | Tệp | Ngày | Hành động |
|---|---|---|---|---|
| 1.21.1 | NeoForge | 1.21.1404 KB 44 | ||
| 1.21.1 | Forge | 1.21.11 MB 5 | ||
| 1.21.1 | Fabric | 1.21.11.2 MB 35 | ||
| 26.1.2 | NeoForge | 26.1.2429 KB 2 | ||
| 26.1.2 | Fabric | 26.1.21.2 MB 18 | ||
| 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 |
Yêu cầu để chạy
- Fabric APIbắt buộc
Nội dung cần nó
Câu hỏi thường gặp
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.
Đánh giá
Hãy là người đầu tiên đánh giá YUNG's API


