IAPI

模组

· 作者 Totobird-Creations

从外部程序/生成器导入物品。

0 本站下载 0 关注 更新于 2 年前
一键开服(送7天)

从外部程序/生成器导入物品。

对于玩家: 在你使用的程序中点击 IAPI 导入选项。 确保你处于创造模式。

对于开发者: 向本地设备(127.0.0.1)发送一个 POST 请求,并指定端口。 默认端口为 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:[{}]}"
});

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源