your current location:首页 > news>Use Kubejs to add mechanical power: ore excavation formula mechanical power: ore excavation (Create Ore Excavation) Mine

Use Kubejs to add mechanical power: ore excavation formula mechanical power: ore excavation (Create Ore Excavation) Mine

2024-12-10 17:48:23|Myriagame |source:minecraft skins

This tutorial is set by the author to use the CC By-NC-ND protocol.

This tutorial is based on 1.19.2, and other versions are not tested

1. Installation

Install mechanical power and Kubejs and mechanical power: ore excavation

2. Create files

Find the server_scripts folder in the Kubejs folder

Modify the formula of the formula is not .json, it is .js

2. Case

The following is a living root drill formula as a template:

<<<<<<] = "assh: none;">> serverersion

// Custom synthetic modification

event.recipes.createoreExcavation.drilling ('Twilightforest: LiverOot', '{"Text": "LiverOot"}', 10, 100)

// Mechanical power: ore excavation formula, parentheses behind Drilling are the items that need to be output, the name of the mine vein, generate weight, and take the extraction time of 32 RPM.

.veinsize (3, 8.5)

// Mine pulse size

.biomewhitelist ('Twilightforest: in_twilight_forest')

// List of biological community white

.id ("liveroot");

// Formula ID

});

The author said: only the biological community can be filtered, and the dimension cannot be filtered

You can use the/COE instruction to create a virtual ore vein for specified coordinates. Example:/COE SETVEIN coordinates added