KubeJS
这个模组有什么作用?
这个模组允许你用JavaScript语言创建脚本,以管理你的服务器、添加新的方块和物品、更改配方和标签、为任务模组添加自定义处理器、更改世界生成等等!
如何使用它?
安装模组后运行一次游戏。它应该会在你的Minecraft目录中生成kubejs文件夹,并带有示例脚本。启动脚本仅在游戏加载时运行一次。这些脚本用于注册物品、设置配置等。Server/data脚本在你加入世界时加载,这些脚本更适合诸如清除延迟、显示自定义登录消息以及一般与世界/玩家相关的事务。
1.19.2版本视频教程
我可以重新加载脚本吗?
可以,使用 /reload。注意:并非所有内容都可重新加载。有些内容需要你重启游戏,有些只需重启世界,有些则可即时生效。
我不懂JavaScript / 我需要这个模组的帮助!
KubeJS维基上有示例和预制脚本。
我有一个问题 / 建议 / 错误报告!
如果维基上没有你要找的答案,你可以在这里提问、提出功能建议并报告错误:KubeJS支持
KubeJS
What does this mod do?
This mod lets you create scripts in JavaScript language to manage your server, add new blocks and items, change recipes and tags, add custom handlers for quest mods, change worldgen and more!
How to use it?
Run the game with mod installed once. It should generate kubejs folder in your minecraft directory with example scripts. startup scripts only get run once when the game loads. Those are for registering items, setting up configs etc. Server/data scripts are loaded when you join a world, those are better for things like clearlag, displaying custom login messages and world/player related things in general.
Video tutorial for 1.19.2
Can I reload scripts?
Yes, use /reload. Note: Not everything is reloadable. Some things require you to restart game, some only world, some work on fly.
I don't know JavaScript / I need help with this mod!
There's examples and pre-made scripts on KubeJS Wiki.
I have a question / suggestion / bug report!
If wiki didn't have the answer for what you were looking for, you can ask questions, make feature suggestions and report bugs here: KubeJS Support
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
通天之路
热度 313 | 3 天前更新
匠途闲境 - Create Craft & Quiet
热度 207 | 3 天前更新
VERITY.exe
热度 369 | 6 天前更新
咒术回战(咒术战斗)
热度 68954 | 6 天前更新
暮色森林精选 - The Best of Twilight Forest
热度 25618 | 6 天前更新
无限计划 0.1 - Project Infinity 0.1
热度 9745 | 6 天前更新
黑暗RPG - DarkRPG - Forge
热度 9589 | 6 天前更新
[TLWS]末世生辉 The Last World Shines
热度 9405 | 6 天前更新
简易小屋
热度 624 | 1 周前更新
灾厄巫咒
热度 662 | 2 周前更新
阿卡迪亚的天启
热度 2872 | 2 周前更新
寄生仙途
热度 803 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!