ModTweaker
Link to modtweaker
ModTweaker is an addon for MineTweaker 3. Minetweaker lets you adjust recipes, remove them entirely, or add new recipes. While it has decent mod support, there are many mods that use custom crafting handlers that are not supported natively. ModTweaker plans to provide additional support for as many of these mods over time as possible.
Contents
Link to contents
- Download
- General Usage
- Difference between IItemStack and IIngredient
- Currently Supported Mods 1.11.2
- Currently Supported Mods 1.10.2
- Currently Supported Mods 1.7.10
Download
Link to download
You can find ModTweaker on curseforge: ModTweaker Download
General Usage
Link to general-usage
In general, for all of the supported mods, you can either import them or call them directly.
Throughout the tutorial examples, the latter will be used just to keep everything concise.
Example with the Botania Apothecary recipes:
ZenScript Copyimport mods.botania.Apothecary;
Apothecary.addRecipe(<minecraft:melon>, [<ore:petalLime>, <ore:petalRed>, <ore:petalRed>]);
or:
ZenScript Copymods.botania.Apothecary.addRecipe(<minecraft:melon>, [<ore:petalLime>, <ore:petalRed>, <ore:petalRed>]);
Difference between IItemStack and IIngredient
Link to difference-between-iitemstack-and-iingredient
IItemstack is the standard type for representing an item in a recipe. It can hold an item with metadata/damage value (metadata), NBT data and the stacksize. IIngredient is a more advanced type which can represent all of the above and Oredict entries, input conditions and item transformers.
However, most of the crafting mechanisms supported by Modtweaker don't support the latter but only IItemStack. Look at documentation of the specific handlers to see what they support. (The Method signature -which parameters and parameter types are used- is written above the example.)
If a ZenScript method for adding recipes, accepts IIngredient, most of the the handlers only can use the additional Oredict support not input conditions or item transformers. If there is additional support beyond that, it will be explicit marked.
If a ZenScript method for removing recipes accepts IIngredient, most of the the handlers can use all the features of IIngredient.
The support for mods is not finalized. There will be additional support added where applicable.
Currently Supported Mods 1.11.2
Link to currently-supported-mods-1112
Currently Supported Mods 1.10.2
Link to currently-supported-mods-1102
- Actually Additions
- Blood Magic
- Botania
- Chisel
- Embers
- Extra Utilities
- Forestry
- Random Things
- Refined Storage
- Survivalist
- Tinker's Construct
Currently Supported Mods 1.7.10
Link to currently-supported-mods-1710