从外部程序/生成器导入物品。
对于玩家: 在你使用的程序中点击 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:[{}]}"
});
你是这个资源的作者?登录后可认领此资源。
相似资源
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
341
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
241
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
240
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
Applied Energistics 2
shartte
AE2:一款流行的自动化与存储模组
存储科技
217
WTHIT
deirn
那是什么?一个 Waila/Hwyla 的分支。
前置实用
165
评论 0
登录后参与评分
还没有评论,来抢沙发吧