your current location:首页 > news>About how to use Kubejs to add a formula to a saw wood machine, Kubejs ImmerSive Engineering Minecraft Game

About how to use Kubejs to add a formula to a saw wood machine, Kubejs ImmerSive Engineering Minecraft Game

2024-12-10 17:51:12|Myriagame |source:minecraft skins

This tutorial is set by the author's setting without permission.

It was originally intended to write in the MOD text, but it was too long to affect the perception, so I made a tutorial alone.

original:

event.recipes.immersivengineering.sawmill (output, input)

event.recipes.immersivengineering.sawmill (output, input, secondaries [])

event.recipes.immersivengineering.sawmill (output, input, secondaries [], stripped)

event.recipes.immersivengineering.sawmill (output, input, secondaries [], stripped, Energy)

The first line is well understood, input and output.

Event.Recipes.immersivengineering.sawmill ('Minecraft: Iron_INGOT', 'ImmerSivengineering: Ingot_steel'))

Enter the steel ingot and output iron ingots.

Two, three, and four lines are slightly complicated

Here

When the saw wood, the object that can be peeled will be peeled first, produce peeling products, output peeling by -products from the side output output, and then cut, and output products from the front.

If there is no peeling product, the raw material will be output without a saw blade after the output by -output, so you can use the pneeling of the pneal in unlimitedly. Therefore, it is not recommended to use the second line code.

Event.Recipes.immersivengineering.sawmill ('Minecraft: Iron_INGOT', 'ImmerSivengineering: Gunpart_barrel', [{Stripping: True, Output: 'ImmerSive Engineering: Slag '}, {Stripping: False, Output:' ImmersiveNGIERING: Dust_coke '}],'ImmerSivengineering: Ingot_steel')

The effect of the third line code is as follows:

STRIPPING determines that by -products are peeled by -products or final by -products. TRUE is peeled by -products and False is the final by -product.

Energy items can not take effect. If there are big guys know how to use it, you can comment.