your current location:首页 > news>Integrated Scripting Minecraft

Integrated Scripting Minecraft

2024-12-12 09:20:24|Myriagame |source:minecraft skins

New Affiliated Script and Integreated Scripting (temporary translation) developed by the dynamic joint author

You can write JavaScript scripts into the script drive (temporary translation) in the same network (temporary translation) through the script terminal (temporary translation).Then, you can write the variables or functions of the JS into the variable card in the script terminal (the function will be written as a dynamic joint operator).

The following is the translation of the official profile:

This module will allow you to write complex operations in dynamic combination/integrated power network.

After using the script, some operations in the original dynamic combination will become very simple, such as:

Calculate the medium number and standard deviation.

Create a filtering word for the input and output of the integrated pipeline.

Calculate the average stacking number of specific NBT items in the box.

Display the average energy consumption of the previous minute.

Get the destruction speed of the tool you hold on to the square.

Share the script you wrote by copying and paste in the game."Original Operation"

Elastic

This module incorporates tutorials and documents into dynamic combination of dynamic combination/integration power.

Minecraft images

Scripting Terminal is the main component of this extension.It allows you to create a JavaScript script and store it in the variable card and use it in your dynamic combined network.

Minecraft images

Scripting Disk is an item that can store scripts.You can use and edit it in the network after inserting it into the script drive (Scripting Drive).

Minecraft images

The script terminal provides a script editor.The members of the script (such as variables and functions) can be binded to the variable card.These variable cards can be used in the network like other variable cards.If you can access the archive directly, you can also use your most smooth external editor to edit!

Minecraft images

You can continue to track the values ​​of variables in multiple functions, such as calculation sum of sum of calculation.This may be used in similar calculations for a period of time.

Minecraft images

If you need to debug complex calculations, you can output messages for subsequent inspections.

The JavaScript script runs on the Graal VM provided by Oracle through a high -performance Graal.JS engine.Performance and security are the main attention points when developing this module.By default, JavaScript uses the strictest Graal settings.The server administrator can let go of some strict security settings, such as allowing players to perform IO operations to read and write external files.You can also configure the maximum execution size of the script to avoid performance problems.