Import barrel methods into your scriptīarrel.addRecipe(String registryName, IIngredient itemInput, ILiquidStack fluidInput, IItemStack itemOutput, ILiquidStack fluidOutput, int hours) The input must be forgeable(see ItemRegistry for registering forging capability to an item) and can't be stacked.īarrel recipe manager has three methods for manipulating recipes: Welding.removeRecipe(String registryName) Īs with anvil recipes, the same rules for input applies here. Removes all recipes that produce a given output 移除某项产出物对应的所有配方 Welding.addRecipe(String registryName, IIngredient input1, IIngredient input2, IItemStack output, int minTier) Import welding methods into your script Welding recipe manager has three methods for recipe manipulation: As example, HIT_ANY, DRAW_SECOND_LAST, and UPSET_NOT_LAST are valid rule names. Rules consist of a type (HIT, DRAW, PUNCH, BEND, UPSET, or SHRINK), followed by an order (ANY, NOT_LAST, LAST, SECOND_LAST, THIRD_LAST), separated by an underscore. If the skill type is tools, weapons, or armor then the result item will have a skill bonus applied to it.Ī recipe must have 1, 2 or 3 rules. Valid entries are general, tools, weapons, armor, or null.
Skill type is what category of skill the forging should contribute to. Tiers are 0 = Stone, 1 = Copper, 2 = Bronze, 3 = Wrought Iron, 4 = Steel, 5 = Black Steel and 6 = Red/Blue Steel. Input must be forgeable (please refer to ItemRegistry for registering forging capability to an item). Removes a single recipe by registry name 按配方名称移除配方 Removes all recipes that have a given output 移除某项产出物对应的所有配方 Adds a recipe with the given parameters 增加配方Īnvil.addRecipe(String registryName, IIngredient input, IItemStack output, int minTier, String skillType, String. The Anvil has three methods for manipulating recipes: Finish the recipe, build and register it. Adds metal content to this alloying recipe 增加合金配方īuilder.addMetal(String input, double min, double max) Removes the alloy recipe from registry 移除注册合金 Gets the recipe builder for the specified metal 注册合金ĪlloyRecipeBuilder builder = Alloy.addAlloy(String metal) 还有物品注册(加热、熔炉、大小)-Along with the item registry for Heating, Forging and Size capabilities:ItemRegistryįor manipulating Alloy recipes a recipe builder is provided: Can respect the rock category (igneous, metamorphic, etc.) 捏石头 - StoneKnapping - Adds knapping recipes using stones. 捏皮革 - LeatherKnapping - Adds knapping recipes using leather 捏耐火粘土 - Adds knapping recipes using fire clay Also used in the forge and fire pit for transformations at Brilliant White heat 窑坑 - Adds pit kiln transformation recipes. Slightly more involved as it requires additional textures or assets for the rendering. 织布机-Loom - For adding recipes to the loom. 凿子-Chisel - For adding chisel smoothing transformations from block -> block. 桶-Barrel - For adding many types of transformations, both fluid and items to barrels. 焊接-Welding - For adding recipes to weld two items into one
砧-Anvil - For adding anvil working recipes, requiring working temperature and rules. 合金-Alloy - For adding and removing alloy recipes.
The list of recipe managers currently in TFC is: To do that, you first need to import a recipe manager using mods.terrafirmacraft. ) crafttweaker.For changing recipes, item size/heat/forging capabilities, TerraFirmaCraft adds hooks for CraftTweaker scripts. Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue): Game loaded successful and worked properly. What happens:Īpplication became Not Responding when forge loading to Finishing up stage,said Crafttweaker2 was LoadComplete and game became freezed. Trying to add 50+ mods to my minecraft that already had 200+ mods,including JustEnoughIDs to fix the problem of excessed ids.