MineTweaker | |
---|---|
Current developers | StanH |
Version | 3.0.10B |
Supported Minecraft versions | 1.8 |
URL | Link |
Modpacks | |
Monster Horizons Tech World 2 |
- 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: recipes.addShapeless(. 3, , ); Nice.
- I made this video to show some simple recipe making with the mod MineTweaker 3 for minecraft. It covers how to make recipes as well as some convenient option.
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.
跟MineTweaker一样.CraftTweaker通常用于修复冲突的配方,并使来自不同MOD的配方互相作用并互相平衡。 脚本是由服务端发向客户端,因此使用相同的使用CraftTweaker的整合包的不同服务器可能具有不同的配置,而无需更新客户端(并不,若不更新客户端,JEI内显示的. Manage and install your add-ons all in one place with our desktop app. Download CurseForge App.
Guides[edit | edit source]
See also[edit | edit source]
|
MineTweaker RecipeMaker. Mods 8,749,000 Downloads Last Updated: Nov 5, 2017 Game Version: 1.12.2. Download Install Description Files Issues; Source; Relations AS OF 1.12+ RELOADING WAS REMOVED YOU MUST RESTART THE GAME/SERVER FOR RECIPES TO TAKE EFFECT!
Prerequisite[edit | edit source]
Before you can write any MineTweaker scripts, install MineTweaker first and create a '/scripts/' directory in the '/minecraft/' directory, if it is not already there. Zotac 210 driver free download. This should be at the same level as the '/mods/' and '/config/' directories. All scripts are written in files with the '.zs' file extension (for example, 'witchery.zs'). The name of these files does not matter to the scripts or MineTweaker, however it is recommended to not uses spaces or symbols (excluding underscores).
ZenScript[edit | edit source]
Unlike in MineTweaker 2, MineTweaker 3 is built on top of a custom programming language named ZenScript. It allows for more advanced features, such as loops. ZenScript looks much like JavaScript or Java. ZenScript is relatively simple compared to other programming languages, as it is created specifically for MineTweaker.
It is recommended you use the Atom Text Editor, along with the Atom-MineTweakerpackage rather then a normal text editor, but it is not required.
Functions[edit | edit source]
In ZenScript, a function is a procedure that does something, like add or remove a recipe. The most basic function in the print function, as shown below.
The print function will log a message into the minetweaker.log file in your minecraft directory. That file may contain other messages, but this should be found somewhere within it.
Notice the called function has a semicolon at the end of it. A semicolon is required after the end of each statement.
Most functions in MineTweaker relate to the addition and removal of recipes. It's important to know the unlocalized name of the item and blocks you want to use, as well as the mod ID that adds that particular item or block. Various tools exist to discover these, including NEI's data dumping feature.
To remove a recipe, a simple function is put into place.
When Minecraft is launched, you will find you can no longer craft Sticks. If this example, minecraft is treated as the mod ID, and stick is the unlocalized name of the Stick.
Minetweaker 1.12.2
Other examples:
This will remove the crafting recipe for the Bed:
And this will remove the crafting recipe for the Blaze Rail from Natura.
Natura is the mod ID of Natura, and Blazerail is the unlocalized name of the Blaze Rail.
Remember: you can call multiple functions in one script, like shown below.
Spaces and new lines don't mean anything in ZenScript, meaning you can do some funky things.
Of course, for the sake of readability, it is recommend that each statement gets its own line.
Calling a function with multiple parameters and adding shaped recipes[edit | edit source]
In ZenScript, a parameter is the input you put into a function.
Nero multimedia suite crack. Nero Platinum Suite Crack as the leading burning software in the whole industry, although Nero is getting fatter, accordingly, its functions are also becoming more and more, which is forgivable more or less. It developed from a simple burner with single function to now full-featured HD multimedia suite which integrates optical disc burning, creating, playing,. Nero Multimedia Suite 10.6.10600 serial numbers, cracks and keygens are presented here. No registration is needed. Just download and enjoy. Nero 2019 Platinum Crack and Serial key Free Download May 13, 2018 Media Nero 2019 Platinum works with high-quality (HQ) multimedia files. This software is used for creating, copying, and editing, playing, streaming, ripping, converting, burning with these files. Nero multimedia suite 10 incorporates three major crack functions into a single package — a burning tool, a backup and restore feature and a video editor. Each piece of software found in this suite has a very attractive and intuitive interface, so that all types of users can work with it.
In the example above, the Stick is the parameter.
Anyway, often times a function needs more than one parameter. For example, adding a new recipe requires two; one for the output, and one for the recipe itself.
As you can likely guess, the above script adds the Diamond Pickaxe recipe.
Take some time to reevaluate the script:
- Notice the word null. In this case, null means nothing is required in that slot.
- Notice the square brackets ([ and ]). For each right square bracket, there's a left bracket. The entire recipe is in a set of square brackets, and each line is in another set of square brackets.
- Also notice the semicolon. Remember, each statement ends with a semicolon.
Here's another example:
How To Use Minetweaker Recipe Maker
Produces:
Of course, that last example does not replace the Stone Pickaxe recipe; it just adds a new recipe for it. If you wanted to replace it, you'd have have to remove the recipe, and then add it again.
Variables and Values[edit | edit source]
In ZenScript, a Value is an item (or other type) that can be set and used later. That might sound complicated, but it's actually quite simple. The val keyword is used for declaring a value. For example,
Minetweaker Recipe Maker
declares a value named 'stonePick' with the value of ''. Values are especially useful so you can type less and still get the same effect. For example,
can be simplified to:
It might not look like a big difference, but it really is if you use the value a lot. Do note using values are mostly optional, but they're considered a good coding practice for ZenScript and other similar programming languages.
A Variable is just like a value, but it can be set multiple times. For example,
will remove both the Glass block and the Lapis Block. If you replace 'var' with 'val', some sort of error will occur, and the script will likely not work.
跟MineTweaker一样.CraftTweaker通常用于修复冲突的配方,并使来自不同MOD的配方互相作用并互相平衡。 脚本是由服务端发向客户端,因此使用相同的使用CraftTweaker的整合包的不同服务器可能具有不同的配置,而无需更新客户端(并不,若不更新客户端,JEI内显示的. Manage and install your add-ons all in one place with our desktop app. Download CurseForge App.
Guides[edit | edit source]
See also[edit | edit source]
|
MineTweaker RecipeMaker. Mods 8,749,000 Downloads Last Updated: Nov 5, 2017 Game Version: 1.12.2. Download Install Description Files Issues; Source; Relations AS OF 1.12+ RELOADING WAS REMOVED YOU MUST RESTART THE GAME/SERVER FOR RECIPES TO TAKE EFFECT!
Prerequisite[edit | edit source]
Before you can write any MineTweaker scripts, install MineTweaker first and create a '/scripts/' directory in the '/minecraft/' directory, if it is not already there. Zotac 210 driver free download. This should be at the same level as the '/mods/' and '/config/' directories. All scripts are written in files with the '.zs' file extension (for example, 'witchery.zs'). The name of these files does not matter to the scripts or MineTweaker, however it is recommended to not uses spaces or symbols (excluding underscores).
ZenScript[edit | edit source]
Unlike in MineTweaker 2, MineTweaker 3 is built on top of a custom programming language named ZenScript. It allows for more advanced features, such as loops. ZenScript looks much like JavaScript or Java. ZenScript is relatively simple compared to other programming languages, as it is created specifically for MineTweaker.
It is recommended you use the Atom Text Editor, along with the Atom-MineTweakerpackage rather then a normal text editor, but it is not required.
Functions[edit | edit source]
In ZenScript, a function is a procedure that does something, like add or remove a recipe. The most basic function in the print function, as shown below.
The print function will log a message into the minetweaker.log file in your minecraft directory. That file may contain other messages, but this should be found somewhere within it.
Notice the called function has a semicolon at the end of it. A semicolon is required after the end of each statement.
Most functions in MineTweaker relate to the addition and removal of recipes. It's important to know the unlocalized name of the item and blocks you want to use, as well as the mod ID that adds that particular item or block. Various tools exist to discover these, including NEI's data dumping feature.
To remove a recipe, a simple function is put into place.
When Minecraft is launched, you will find you can no longer craft Sticks. If this example, minecraft is treated as the mod ID, and stick is the unlocalized name of the Stick.
Minetweaker 1.12.2
Other examples:
This will remove the crafting recipe for the Bed:
And this will remove the crafting recipe for the Blaze Rail from Natura.
Natura is the mod ID of Natura, and Blazerail is the unlocalized name of the Blaze Rail.
Remember: you can call multiple functions in one script, like shown below.
Spaces and new lines don't mean anything in ZenScript, meaning you can do some funky things.
Of course, for the sake of readability, it is recommend that each statement gets its own line.
Calling a function with multiple parameters and adding shaped recipes[edit | edit source]
In ZenScript, a parameter is the input you put into a function.
Nero multimedia suite crack. Nero Platinum Suite Crack as the leading burning software in the whole industry, although Nero is getting fatter, accordingly, its functions are also becoming more and more, which is forgivable more or less. It developed from a simple burner with single function to now full-featured HD multimedia suite which integrates optical disc burning, creating, playing,. Nero Multimedia Suite 10.6.10600 serial numbers, cracks and keygens are presented here. No registration is needed. Just download and enjoy. Nero 2019 Platinum Crack and Serial key Free Download May 13, 2018 Media Nero 2019 Platinum works with high-quality (HQ) multimedia files. This software is used for creating, copying, and editing, playing, streaming, ripping, converting, burning with these files. Nero multimedia suite 10 incorporates three major crack functions into a single package — a burning tool, a backup and restore feature and a video editor. Each piece of software found in this suite has a very attractive and intuitive interface, so that all types of users can work with it.
In the example above, the Stick is the parameter.
Anyway, often times a function needs more than one parameter. For example, adding a new recipe requires two; one for the output, and one for the recipe itself.
As you can likely guess, the above script adds the Diamond Pickaxe recipe.
Take some time to reevaluate the script:
- Notice the word null. In this case, null means nothing is required in that slot.
- Notice the square brackets ([ and ]). For each right square bracket, there's a left bracket. The entire recipe is in a set of square brackets, and each line is in another set of square brackets.
- Also notice the semicolon. Remember, each statement ends with a semicolon.
Here's another example:
How To Use Minetweaker Recipe Maker
Produces:
Of course, that last example does not replace the Stone Pickaxe recipe; it just adds a new recipe for it. If you wanted to replace it, you'd have have to remove the recipe, and then add it again.
Variables and Values[edit | edit source]
In ZenScript, a Value is an item (or other type) that can be set and used later. That might sound complicated, but it's actually quite simple. The val keyword is used for declaring a value. For example,
Minetweaker Recipe Maker
declares a value named 'stonePick' with the value of ''. Values are especially useful so you can type less and still get the same effect. For example,
can be simplified to:
It might not look like a big difference, but it really is if you use the value a lot. Do note using values are mostly optional, but they're considered a good coding practice for ZenScript and other similar programming languages.
A Variable is just like a value, but it can be set multiple times. For example,
will remove both the Glass block and the Lapis Block. If you replace 'var' with 'val', some sort of error will occur, and the script will likely not work.
The variable feature might not look very useful right now, but it's vital in more advanced scripts.
Comments[edit | edit source]
In ZenScript, a Comment is a structure in code that is ignored by the interpreter, but is created for readability.
That sounds kind of confusing, but it's really not complicated at all. A single-lined comment in ZenScript can be started with '#' or '//'
A multi-lined comment is started with '/*' and ended with '*/'.
Comments are used for a variety of reasons; for explaining confusing code, explaining what a function does, listing copyright information, and to disable code without deleting it.
More information[edit | edit source]
For more detailed information, please consult the MineTweaker 3 wiki.
|