跳到正文

JavaScript Commands

Allows the JsCraft API to be called ingame with a command

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

JavaScript Commands

This is a small lightweight mod that uses the JsCraft API to allow JavaScript code to be run ingame using a command. This is fully compatible with command blocks, meaning that more complex mechanisms can be created with greater ease.

 

How to use it

To use JavaScript ingame, the ‘/javascript‘ command can be used; anything after it will be executed. It makes use of the JsCraft API, meaning that full wrappers around many of the things in Minecraft are provided. Documentation for the API can be found here.

 

Installation

To install this mod, you’ll need JsCraft. Once you have that installed, you simply need to extract the ‘Javascript Commands‘ folder from inside the ZIP provided and place it in the ‘js/mods’ directory in your ‘.minecraft’ folder:

常见问题

JavaScript Commands 支持哪些 Minecraft 版本?

JavaScript Commands 支持 Minecraft Java 版 1.8.9,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

JavaScript Commands 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

_ForgeUser14769880 的其他作品

查看全部 →