your current location:首页 > news>Spoiled's magic reform method Spoiled Minecraft Game

Spoiled's magic reform method Spoiled Minecraft Game

2024-12-10 17:54:36|Myriagame |source:minecraft skins

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

1. CRT magic reform method

1. Guide package

 Import Mods.spoiled.spoilingManager;

var spoilmanager = ;

2. Add and delete food rotten

 // Add

spoilmanager.addspoiling ("formula ID", , , rotten time)

// Delete it according to the item

spoilmanager.removerecipeByinput (IITEMSTACK Input);

// Delete it according to the formula ID

spoilmanager.removebyname (string recipename);

2. Kubejs Magic Reform Method

1. Case

 // Apple becomes carrion after decaying

Onevent ('recipes', event => {

Event.custom ({{

"Type": "spoiled: spoil_recipe",

"Ingredient": {

//food

"Item": "Minecraft: Apple"

},

// Rotten time

"Spoiltime": 100,

"Result": {

// Output after rot

"Item": "Minecraft: Rotten_flesh"

}

})

})