IAPI
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 1.0.0
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/iapi
资源信息
Minecraft 版本: 1.20.4
平台: fabric
标签: utility
资源介绍
Import items from external programs/generators.
For Players:
Click the IAPI import option in whatever program you're using.
Make sure you are in creative.
For Developers:
Send a POST request to the local device (127.0.0.1), with a port.
The default port is 25530.
// Web Javascript Example
port = 25530; // It is recommended that you provide an option to change this.
// Most webbrowsers do not allow getting data back from this request.
// Game logs will indicate what went wrong.
// If you are using a desktop application, this is not a problem.
fetch("http://127.0.0.1:" + port, {
method : "POST",
headers : {
"Content-Type" : "text/plain"
},
body : "minecraft:stone{display:{Name:'\\'Happy Stone\\''},Enchantments:[{}]}"
});
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~