your current location:首页 > news>Visual JS Minecraft

Visual JS Minecraft

2024-12-12 09:17:01|Myriagame |source:minecraft skins

Overview

VisualJS is a module that allows the game to deal with the game after adding Kubejs to the game (therefore, it is strongly recommended that you read the content of GLSL).The module adds effects through the original effect system, so it is compatible with other modules, at least compatible with Embeddium.

It can start with the effect of simply adding the existence in the game, just like this, but please note that all scripts must be performed on the client.

If you have read these, the following code will be explained for you: Creeper is the later effect of Minecraft/Shaders/Post/Creeper.json. True said that VisualJs will prevent the original code from changing or removing the effect.

You can also add your own effect and color device program, as long as they follow the same file structure as the original, because they will only load the effect and color device there.

You may notice that uniforms can be modified by programming.This means that your effect can receive a more dynamic behavior from your JS script.After the unified variable is modified, you can see such a effect in the game (see the gallery Figure 1).

Although this effect comes from the original work of the original work, it is yellow instead of green now!

Of course, you can also add many other cool functions. The author has made an example for your reference.If everything is set correctly, you should be able to see such effects, and when you approach or stay away from the light source, the color device will change (see the gallery Figure 2).

gallery

Minecraft images

Minecraft images