CROCKPOT TWEAKER usage CROCKPOT TWEAKER MINECRAFT Game

Food value

Guide package:

 Import Mods.crockpot.crfoodValue; 

Construction function:

 CRTFOOODVALUE (); 

method:

 Put (Category as String, Value As Float) as CRTFOONVALUE 

Category supports: "Meat", "Monster", "Fish", "Egg", "FRUIT", "Veggie", "Dairy", "Sweetener", "Frozen", "InEdible".

Add food value to items:

  .adrecipe (name as String, item as icodient, value as CRTFOODVALUE, BOOLEA n isstag); 

example:

Add 1 fruit to the iron ingot.

Add 1.5 eggs, 1 meat, 2 fish to all types of diamonds.

  .AddRecipe ("Iron", ,

New CRTFOONVALUE (). PUT ("FRUIT", 1F), FALSE);

.AddRecipe ("Diamond",

New CRTFOONVALUE (). PUT ("Egg", 1.5F) .put ("Meat", 1F). Put ("Fish", 2F), FALSE);

Cooking pot formula

need

Guide package:

 Import Mods.crockpot.Crtrequirement; 

Construction function:

 CRTREQUIREMENT () 

method:

Methods return value addcategorymax (Category as String, Value As Float) CRTREQUIREQUIREMENTADDCATEGORYMAX (Value As CRTFOONVALUE) G, Value As Float CRTREQUIREMENTADDCATEGORYMIN (Value as CRTFOODVALUE) CRTREQUIREMENTDDMustItem (Item As IINGREDIENT, AMOUNT AS Int)) CRTREQUIREMINTADDDDMUSTI Temlessthan (item as lyngredient, Amount As Int) Crequirement

formula

 // default values

Weight = 10, time = 200, portlevel = 0

.addRecipe (name as string, Require as class, output as Iitemstack, Priority as int);

.addRecipe (name as string, Require as class,

Output as IITEMSTACK, Priority as int, Weight as int, Time as int, portlevel as int);

.removerecipe (output as Iitemstack);

example:

Add the formula of the lower boundaries, which requires at least 0.5 meat and up to 1 egg. There must be an iron ingot. The diamond cannot exceed three, and the priority is 20;

To add obsidian recipes, at least 2 fish are required. There must be one diamond. The number of raw cod cannot exceed one. The priority is 100, the time is 5 seconds.

Delete chili meat formula.

  .addRecipe ("Nether_Star",

New CRTREQUIREMENT ()

.addcategorymin ("Meat", 0.5F)

.addcategorymax ("Egg", 1F)

.addmustitem (, 1)

.addmustitemlessthan (, 3), 3), 3),

, 20);

.addRecipe ("Obsidian",

New CRTREQUIREMENT ()

.addcategorymin ("Fish", 2F)

.addmustitem (, 1)

.addmustitemlessthan (, 1), 1, 1),, 1), 1, 1),, 1), 1, 1),, 1)

, 100,100,100,0);

. Removerecipe ();

Explosion formula

  .addRecipe (name as string, input as ivient, output as Iitemstack,

Lossrate as float, onlyblock as boolean);

. Removerecipe (output as Iitemstack);

example:

Add a diamond explosion to produce 9 diamond formulas and 10%losses.

Add a golden block explosion to produce 9 gold ingots formulas without losses, and only accept the block explosion (do not accept the drop).

  .AddRecipe ("Diamond", , *9,0.1F, FALSE);

.addRecipe ("Gold", , *9,0F, TRUE);

Pork spirit transaction

Item needs

 Import Mods.crockpot.CrtweightItem; 

Construction function:

 CRTWEIGHTITEM

CRTWEIGHTITEM (Stack as Iitemstack, min as int, max as int, weight as int);

formula

  .addRecipe (name as string, item as lydient, outputs as CRTWEIGHTIT em []); 

example:

Pig Ling picked up the emerald transaction, 80%dropped 1 to 9 coal, and 20%dropped 1 to 2 coal blocks.

  .addRecipe ("Emerald_to_coal", , [[

New CRTWEIGHTEM (, 1,9,4), 1,9,4),

New CRTWEIGHTEM (, 1,2)

]);