从外部程序/生成器导入物品。
对于玩家: 在你使用的程序中点击 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 分支)
实用前置
247
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
229
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
196
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
181
开放派对与认领Open Parties and Claims
thexaero
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
前置实用
152
世界地图Xaero的世界地图
thexaero
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
冒险交通
129
评论 0
登录后参与评分
还没有评论,来抢沙发吧