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
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
阿卡迪亚的天启:天选之歌
热度 752 | 1 周前更新
机械动力:航空学 - All of Create - Aeronautics
热度 731 | 1 周前更新
天空开拓者:耕云纪元
热度 608 | 1 周前更新
更好的MC Better MC [FORGE] BMC4
热度 570 | 1 周前更新
剑痕纪元
热度 2109 | 1 周前更新
咒术回战(咒术战斗) - Jujutsu Kaisen (Sorcery Fight)
热度 3659 | 2 周前更新
机械动力:工业与牧歌 - Create: Industry and Pastoral
热度 4959 | 2 周前更新
虚饰作品-Fictional
热度 5003 | 3 周前更新
猎杀:历史 1949 - Hunt: History 1949
热度 2325 | 3 周前更新
更好的MC Better MC [NEOFORGE] BMC5
热度 2513 | 3 周前更新
ATM10:空岛 - All the Mods 10: To the Sky
热度 1126 | 3 周前更新
方块宝可梦x纪元(Cobblemon x Era)
热度 5837 | 3 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!