your current location:首页 > news>Crafttweaker Demon Reform Tutorial [FMC] Future MC (FUTURE MC) MINECRAFT Game

Crafttweaker Demon Reform Tutorial [FMC] Future MC (FUTURE MC) MINECRAFT Game

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

This tutorial Sinicization is from: https://github.com/theDarkColour/FUTURE-mc/wiki

bee

Add or remove effective flowers for pollination.

The introduction of 1.12 is

 Import Mods.futuremc.bee; 

Allow a flower;

Allow bees to collect pollen from this square, not even a flower.

 Import Mods.futuremc.bee;

import crafttweaker.block.iblockState;

Bee.addflower ();

Forbidden a flower;

Prevent bees from searching and collecting pollen from this flower.

 Import Mods.futuremc.bee;

import crafttweaker.block.iblockState;

Bee.removeflower ();

Clear the default value;

If you want to check the flowers that bees can pollinate thoroughly, use this function before adding your own formula.

 mods.futuremc.bee.clearvalidflowers (); 

Smoking furnace and blast furnace

Add formula;

Smoked furnace.

 // mods.futuremc.smoker.addrecipe (IITEMSTACK Input, IITEMSTACK OUTPUT);

mods.futuremc.smoker.addrecipe (, ); // Pumpkin-> seeds

blast furnace.

 // mods.futuremc.blastfurnace.addrecipe (IITEMSTACK Input, IItemstack Output);

mods.futuremc.blastfurnace.addrecipe (, ); // Round Stone-> Smoz Stone

Remove the formula;

Smoked furnace.

 // mods.futuremc.smoker.removerecipe (IITEMSTACK Input);

mods.futuremc.smoker.removerecipe (); // Remove the formula of cooking cownate

blast furnace.

 // mods.futuremc.blastfurnace.removerecipe (IITEMSTACK Input);

mods.futuremc.blastfurnace.removerecipe (); // Remove the formula of the melting diamond ore

bonfire

Add formula;

 // mods.futuremc.campfire.addrecipe (IITEMSTACK Input, Itemstack Output, Int Duration); Mods.futureMCAMPFIRE. addRecipe (, , 1200); // Add the stone formula for 60 seconds to become a stone formula.

Remove the formula;

 // mods.futuremc.campfire.removerecipe (IITEMSTACK Stack);

mods.futuremc.campfire.removerecipe (); // Remove the recipe of cooking raw beef on the bonfire.

Clear the default formula;

Call it to delete all the default formulas before adding a formula.

 mods.futuremc.campfire.Clearrecipes (); 

Pile

Add valid items;

Add the items (sensitive metadata) to the valid items list of the compost barrels and have a certain success rate. You can also use ioreDictionry instead of IItemstack.

 // mods.futuremc.composter.addvalidItem (IITEMSTACK item, Int Chance);

mods.futuremc.composer.addvaliditem (, 20);

Remove effective items;

Remove the item (sensitive metadata) from the valid items of the compost barrel.

 // mods.futuremc.composter.removevalidItem (IItemstack itm);

mods.futuremc.composer.Rmovevaliditem

Change the probability of items;

Change the successful opportunity of effective items (metadata sensitivity) of the compost barrel.

 // mods.futuremc.composter.replacevaliditemchance (IITEMSTACK item, int news);

mods.futuremc.composer.replaceValiditemChaance (, 100);

Clear effective items;

Call this before you add a formula to delete all the default valid items.

 mods.futuremc.campfire.Clearvaliditems (); 

Forged desk

Add the formula to the forging table.

The introduction of 1.12 is

 Import Mods.futuremc.smithingtable; 

The introduction of 1.15 is

 Import Futuremc.crafttweaker.smithingtable; 

Add formula (1.12.2)

Add a formula to forging Taichung, parameter:

Input: IITEMSTACK -Type (ID) of items.


Material: Iitemstack -material and the number (ID, metadata, quantity).Result: IiteMStack

 Import Mods.futuremc.smithingtable;

Smithingtable.addrecipe (, , );

Add formula (1.15)

Add a formula to the blacksmith table, parameter:

name: String -The name of the formula to be added (for example: "Netherite_pickaxe_from_smithing").

Result: IiteMStack -The product of input upgrades (eg: Netherite Pickaxe).


Input: IINGREDIENT -The items to be upgraded (for example: Diamond Pickaxe).

Material: Iingredient -Materials used to upgrade (eg, the next alloy).

MaterialCost: INT -Number of materials required for upgrades (eg: 1).

 Import Futuremc.crafttweaker.smithingtable;

Smithingtable.addrecipe ("Netherite_pickaxe_from_smithing", , , , 1);

Remove formula (1.12.2)

 Import Mods.futuremc.smithingtable;

Smithingtable.removerecipe (, );

Clear the default formula (1.12.2)


 Import Mods.futuremc.smithingtable;

Smithingtable.cleardefaults ();

The 1.15 removal formula and clearing the default formula.


Stone cutter

Add formula;

Add formula.

 // mods.futuremc.stoneCutter.addoutPut (IITEMSTACK Input, IITEMSTACK OUTPUTS);

mods.futuremc.stonecutter.addoutput

Add the fast functions of multiple formulas to each output.

 // mods.futuremc.stonecutter.addoutPuts (IITEMSTACK Input, IItemstack ... Outputs);

MODS.FUTUREMC.STONECUTTER.ADDOUTPUTS (, , ); // Add glass and sandstone as the formula of cutting stones

removal formula;

 // mods.futuremc.stoneCutter.removeoutPuts (IITEMSTACK Input, IItemstack ... Outputs);

MODS.FUTUREMC.STONECUTTER.RMoveoutPuts

Remove effective input;

 // mods.futuremc.StoneCutter.removealLOTPUTSFORINPUT (IITEMSTACK Input);

mods.futuremc.stonecutter.removealloutPutsforinput (); // Remove cutable stones

Clear the default formula;

 mods.futuremc.stoneCutter.Clearrecipes ();