You have a certain Kubejs and DataPack basics in the default
The following needs to be placed in oneEvent ()
Add formula
Event.custom (
{{
"Type": "Naturesaura: Tree_ritual",
"Ingredients": [[
{{
"Item": "Minecraft: DIRT"
},
{{
"Item": "Minecraft: DIRT"
},
{{
"Item": "Minecraft: DIRT"
},
{{
"Item": "Minecraft: DIRT"
} // The items that need to be put around the ceremony are up to 8
],,,
"Sapling": {
"Item": "Minecraft: Oak_sapling" // The required sapling
},
"OUTPUT": {
"Item": "Minecraft: Cobblestone", // Products
"Count": 2},
"Time": 100 // The time required for the ceremony (the time required for making pleasant marks is 200)
}
Cure
Removal formula
Event.remove ({id: 'naturesaura: token_anger'}) // Delete the formula through the formula name