Item Production Lib Mod cho Minecraft 1.20.1
Công cụ dành cho nhà phát triển mod để theo dõi sản xuất vật phẩm
Giới thiệu mod Item Production Lib
Thêm sự kiện ItemProducedEvent cho phép theo dõi thời điểm vật phẩm được tạo ra bởi người chơi hoặc block entity.
Có thể dùng với các phương thức chế tạo tùy chỉnh để các mod khác có thể theo dõi nó.
Hỏi: Sự kiện này khác gì so với ItemSmeltedEvent hoặc ItemCraftedEvent?
Đáp: Những sự kiện forge này được kích hoạt ngay khi bạn lấy vật phẩm từ một ô. ItemProducedEvent được kích hoạt bất cứ khi nào vật phẩm được tạo ra.
Cách dùng sự kiện với tư cách là mod dev:
// vật phẩm đã được tạo ra bởi block entity của bạn ở đây
// hãy đảm bảo ghi đè kết quả bằng kết quả từ sự kiện
stack = ItemProductionLib.itemProduced(stack, blockEntity);
HOẶC
// vật phẩm đã được tạo ra bởi người chơi ở đây
// hãy đảm bảo ghi đè kết quả bằng kết quả từ sự kiện
stack = ItemProductionLib.itemProduced(stack, player);
Cách cài đặt Item Production Lib
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.20.1 on Forge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Forge
The loader must match the game version of the mod file, for example Minecraft 1.20.1. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file ItemProductionLib-1.20.1-1.0.2b-all.jar (167 KB) for your game version.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Item Production Lib should be in the list.
Minecraft 1.20.1 runs on Java 17: with a different Java version the game may close right after launch.
Phiên bản
Kèm phụ thuộc
| Minecraft | Loader | Tệp | Ngày | Hành động |
|---|---|---|---|---|
| 1.20.1 | Forge | ItemProductionLib-1.20.1-1.0.2b-all.jar167 KB 2 |
Câu hỏi thường gặp
Which Minecraft versions does Item Production Lib work on?
Only Minecraft 1.20.1: there are no files for other versions.
Is Item Production Lib for Forge or Fabric?
Only for Forge: 1.20.1. There are no files for Fabric or NeoForge: a mod for another loader will not start.
Does Item Production Lib need other mods?
The author lists no required dependencies: the Forge loader is enough.
Which Java does Item Production Lib need?
Minecraft 1.20.1 runs on Java 17. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download Item Production Lib safely?
On this page: the file ItemProductionLib-1.20.1-1.0.2b-all.jar (167 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: d45d6d5ee2f065f62c825de6aacb5e2e00597c26.
Đánh giá
Hãy là người đầu tiên đánh giá Item Production Lib

