Minetweaker Recipemaker
MineTweaker RecipeMaker. Mods 8,749,000 Downloads Last Updated: Nov 5, 2017 Game. This mod should work with Minetweaker OR Crafttweaker, and if it doesn't, let us. 8,735,159 Downloads Last Updated: Nov 5, 2017 Game Version: 1.12.2. Download Install.
- Minetweaker Recipe Maker Tutorial
- Minetweaker Recipe Maker Minecraft
- Minecraft Minetweaker Recipe Maker
- Minetweaker Recipe Maker
- Minetweaker 1.12.2
MineTweaker | |
---|---|
Current developers | StanH |
Version | 3.0.10B |
Supported Minecraft versions | 1.8 |
URL | Link |
Modpacks | |
Monster Horizons Tech World 2 |
MineTweaker is a mod by StanH that aims to allow customization of the Minecraft experience. MineTweaker allows players to add/remove crafting table recipes, as well as certain specific mod machines. Items can be renamed and removed, liquid containers can be added or removed, and even the OreDictionary can be altered to the editor's liking. All of this can be done using a very simple coding language inside one configuration file.
Guides[edit | edit source]
See also[edit | edit source]
|
So far we have learned about how to add or remove simple recipes. But what if the inputs and outputs also involve damage values or NBT tags?
NBT Tag in output
It is possible to define both damage or an NBT tag as output. Let's take a pickaxe as our toy for this tutorial:
Minetweaker Recipe Maker Tutorial
Crafting the pick with 1 or 3 sticks as in the recipe will give you an item with the appropriate damage and name/lore on it, respectively.
Input conditions
You can also require the input to contain certain NBT tags. Say, you make a recipe that requires our sticked pick. Let's modify our file:
What about the lore part in our sticked pick? Since your condition only contains the name, the lore part is ignored - when setting a condition on the data tag, MineTweaker only cares about the contents that you specified and ignores everything else.
Note the difference between withTag and onlyWithTag. withTag is for an output and is the exact tag that will be output. onlyWithTag is for input and sets a condition. Applying withTag on an input has no effect on the recipe.
Other conditions exist too:
Multiple conditions can be added to a single ingredient, too:
Output reuse and transformations
Since MineTweaker 3.0.2, it is now possible to reuse items, return empty buckets to the crafting grid (or whatever item you want) or damage items upon crafting.
We could for instance make a recipe to get more sticks out of wood by using an axe:
Nice. But the stone axe gets consumed, and that is sort of annoying. We can fix this with the reuse modifier:
Great! We can reuse the axe. Now what if we also wanted the axe to be damaged when you use it?
We can also deal more than 1 damage upon crafting:
Imagine we'd want to make a recipe to turn dirt into grass by combining dirt, a water bucket and wheat. We could make this recipe:
However, crafting this will consume the bucket. We can tell MineTweaker to return the empty bucket afterwards:
Now, crafting a grass block will return the empty crafting bucket in the crafting grid.
Sometimes mods define their own behavior when you use their items while crafting. Likewise, Minecraft will return you an empty bucket when you use it in a crafting recipe. If you don't want that, you can tell the item to not return anything at all:
If you want to give something back, but not in the crafting inventory, you can also use giveBack. GiveBack can be used without arguments, in which case it will return the original item, or it can be used with an item, in which case that item will be given back into the player inventory:
GiveBack will usually also have the side-effect of suppressing mod item return behavior. It may thus be a handy alternative to the transformReplace modifier in those cases.
Function recipes
When adding a recipe, you may also supply an additional argument, which is a custom function. This function can programmatically determine the output of your recipe.
Minetweaker Recipe Maker Minecraft
To demonstrate how this works, let's make a recipe that repairs a stone pickaxe when you craft it with cobblestone. The output of our recipe depends on the pickaxe that is provided (its damage), thus a regular recipe won't work in this case.
Minecraft Minetweaker Recipe Maker
Let's start by adding the function to it:
Now we need to look at the value of the pickaxe. In order to retrieve the actual values of the inputs, we need to mark them with a name, and MineTweaker will store it in the inputs list:
Minetweaker Recipe Maker
Then it's just a matter of writing the code to fix the pickaxe:
Minetweaker 1.12.2
More will come to function recipes later!