your current location:首页 > news>Add and modify the formula with data packets

Add and modify the formula with data packets

2024-12-10 17:46:43|Myriagame |source:minecraft skins

This tutorial specifically conducts formula modification teaching for the basis of more than ten kinds of cooking methods added by this module, and is facing players with some experience in writing data packages.This tutorial provides a method of adding/modified using a packet.

Loading data packets are recommended to use open loading or Kubejs, which can greatly simplify the process of making packets.Before loading, you need to create a folder in the Data folder: /recipes of the target product, create a JSON file in it, and name it casually.If I want to modify the formula of a Minecraft original version, I should create Data/Minecraft/Recipes, and then create a JSON file in it.

The formula provided by the module will be included and the code comments are attached.Because the module is produced by MCR, the code may have some incomprehensible redundancy, and the consequences of rash deletion are currently unclear.The code should be filled in the created JSON file.

This tutorial does not provide the teaching of the original MC formula, such as workbench synthesis or melting furnace melting.If there is a vacancy in the formula, fill in : Nothing.

1. Tanzi

(The UI interface shows pure water, but the theory can be changed)

 {{

"Type": "Flavor_immersEd_DaiLY: Jeijar_0",

"Ingredients": [[

{{

"Item": "Product"

},

{{

"Item": "Main ingredients"

},

{{

"Item": "Accessiments 1"

},

{{

"Item": "Accessimable 2"

},

{{

"Item": "Flavor_immersEd_DAILY: TidyWater"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

2. oil pan

(UI shows that you need to eat oil, this cannot be changed)

 {{

"Type": "Flavor_immersed_DaiLY: Je_ifryingpan", "

"Ingredients": [[

{{

"Item": "Product"

}, {

"Item": "ingredients"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

3. Egg machine

(The quantity is suspected to be changed, it can only be 1, fill in 2 in the code)

 {{

"Type": "Flavor_immersed_DaiLY: Eggbreaking_jei",

"Ingredients": [[

{{

"Item": "Product 1"

},

{{

"Item": "ingredient 1"

},

{{

"Item": "ingredients 2"

},

{{

"Item": "Product 2"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": 2

}

}

4. Advanced beverage production machine

(Like the jar, the pure water required in theoretical UI can be changed)

 {{

"Type": "Flavor_immersed_DaiLY: Jeidrink",

"Ingredients": [[

{{

"Item": "Product"

},

{{

"Item": "Main ingredient 1"

}, {

"Item": "Main ingredient 2"

},

{{

"Item": "Accessiments"

},

{{

"Item": "Flavor_immersEd_DAILY: TidyWater"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

5. dryer

 {{

"Type": "Flavor_immersed_DaiLY: Jeidryer_0",

"Ingredients": [[

{{

"Item": "Product"

},

{{

"Item": "Enter"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

6. cutting board

(UI shows that a kitchen knife is required, this is not changed)

 {{

"Type": "Flavor_immersed_DaiLY: Je_ichoppingboard_0",

"Ingredients": [[

{{

"Item": "Enter 1"

},

{{

"Item": "Enter 2"

},

{{

"Item": "Output 1"},

{{

"Item": "Output 2"

}

],,,

"OUTPUT": {

"Item": "Output 1",

"Count": Quantity

}

}

7. Meat grinding machine

 {{

"Type": "Flavor_immersed_DaiLY: Jeimeat_0",

"Ingredients": [[

{{

"Item": "Enter 1"

},

{{

"Item": "Enter 2"

},

{{

"Item": "Output 1"

},

{{

"Item": "Output 2"

}

],,,

"OUTPUT": {

"Item": "Output 1",

"Count": Quantity

}

}

8. Boil pot

(Similarly, the pure water displayed in the UI can be changed)

 {{

"Type": "Flavor_immersEd_daiLY: Jeipot",

"Ingredients": [[

{{

"Item": "Product"

},

{{

"Item": "Main ingredient 1"

}, {

"Item": "Main ingredient 2"

},

{{

"Item": "Flavor_immersEd_DAILY: TidyWater"

},

{{

"Item": "Accessiments 1"

},

{{

"Item": "Accessimable 2"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

9. High -pressure cooker

(Similarly, pure water can be changed)

 {{

"Type": "Flavor_immersEd_DAILY: Jeipress",

"Ingredients": [[

{{

"Item": "Product"

},

{{

"Item": "Main ingredient 1"

},

{{

"Item": "Main ingredient 2"

},

{{

"Item": "Flavor_immersEd_DAILY: TidyWater"

},

{{

"Item": "Accessiments 1"

},

{{

"Item": "Accessimable 2"

}],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

10. Stone mill

 {{

"Type": "Flavor_immersed_DaiSTO: Jeistone",

"Ingredients": [[

{{

"Item": "Product"

},

{{

"Item": "Enter"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

11. steamer

(Need pure water, this cannot be changed)

 {{

"Type": "Flavor_immersed_DaiLY: Je_iste_0",,

"Ingredients": [[

{{

"Item": "Product"

},

{{

"Item": "ingredients"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

12. Team pot

(Pure water can be modified)

 {{

"Type": "Flavor_immersed_daily: Je_iteapot_0",

"Ingredients": [[

{{

"Item": "Product"

}, {

"Item": "Main ingredients"

},

{{

"Item": "Accessiments"

},

{{

"Item": "Flavor_immersEd_DAILY: TidyWater"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

Note: There may be by -product -related formulas on the UI, but the grammar of the data packet is suspected to exist, which may be prepared for subsequent updates.

13. Stir -frying pot

 {{

"Type": "Flavor_immersed_DaiLY: Je_ichaoguo",,

"Ingredients": [[

{{

"Item": "Product"

},

{{

"Item": "Main ingredient 1"

},

{{

"Item": "Main ingredient 2"

},

{{

"Item": "Main ingredient 3"

},

{{

"Item": "Accessiments 1"

},

{{

"Item": "Accessimable 2"

},

{{

"Item": "Accessimable 3"

}],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

14.

 {{

"Type": "Flavor_immersed_DaiLY: Jeiyazha_0",

"Ingredients": [[

{{

"Item": "Product"

},

{{

"Item": "Enter"

}

],,,

"OUTPUT": {

"Item": "Product",

"Count": Quantity

}

}

All inputs can change the ITEM to Tag to match all items with specific tags.At present, it does not seem to support the use of Kubejs or Crafttweaker to modify the formula.