your current location:首页 > news>probe js minecraft

probe js minecraft

2024-12-12 09:16:40|Myriagame |source:minecraft skins

This Probejs module has nothing to do with the famous detector.

Its function is to collect information such as the block/item in your integration package for VS Code text editor.

Just install a module and simply run a command. VS Code can provide code completion and information prompt functions for your Kubejs script and other configuration files, and insert your flying wings for your magic!


The basic method of use is as follows:

Install VS Code text editor.

Even if you don't write magic reforms, this editor supports most popular programming languages, script language, and even some other texts, such as the configuration file of the MC module.cfg, language file. Lhelper;

Install the PROBEJS module;

Start your MINECRAFT game, and then run the command:/Probejs DUMP, wait for a while, the required files will be generated;

Right -click on your .minecraft folder and select "Open in VSCODE";

At this time, when you write the Kubejs script, you can already experience the flying feeling brought by automatic completion;

Any time when you need to update the automatic completion function, for example, when a module is added, you only need to re -run the /Probejs Dump command;

If VSCODE does not refresh the automatic completion function after you re -run the command, press the F1 key in VSCODE and execute the "TypeScript: RESTART TS Server" function to force it to refresh.

In addition, Probejs also has some advanced features, such as code segment insertion (enter the code segment of@trigger items, etc., enter#trigger the insertion of the formula JSON), language file prompt, etc. At the same time, if you install this VSCode plug -in, you will also be installed, andYou can display the detailed information of the items string. The code segment and the information display only entertain the Kubejs script and configuration file under the .minecraft file.

Minecraft images

Minecraft images

Minecraft images

Note: Starting from 1.20.1, if the VSCode plug -in, the icon needs to be installed with an additional iconeXPorter.VSCode plug -in body does not depend on iConeXPorter.After entering the game, use instructions:/iconeXPorter Export and restart vscode