Difference between revisions of "User:Voidi"

From MineTweaker3 Wiki
Jump to: navigation, search
(Created page with "= Handlers Supported = Each of these handlers can have recipes added or removed: Parameters marked as <span style="color:red">@Optional</span> are optional and can be left out...")
 
Line 1: Line 1:
= Handlers Supported =
+
The shared script directory: the scripts directory, directly inside your minecraft directory. Scripts stored in this directory (excluded in the subdirectory  'disabled') will apply to all worlds hosted by that minecraft instance - including Single-player games. They will NOT apply when you join another server, as scripts are always loaded from the server.
Each of these handlers can have recipes added or removed:
+
Parameters marked as <span style="color:red">@Optional</span> are optional and can be left out
+
 
+
== Carpenter ==
+
{| class="wikitable"
+
|+addRecipe Parameters
+
|-
+
|output
+
|IItemStack
+
|-
+
|ingredients
+
|IIngredient[][]
+
|-
+
|<span style="color:red">(Optional) fluidInput</span>
+
|ILiquidStack
+
|-
+
|timePerIteminTicks
+
|Integer
+
|-
+
|<span style="color:red">(Optional) boxBoxStack</span>
+
|IItemStack
+
|}
+
 
+
<pre style="white-space: pre-wrap; white-space: -pre-wrap; word-wrap: break-word;">
+
mods.forestry.Carpenter.addRecipe(<Forestry:oakStick> * 2, [[null, <minecraft:planks>, null], [<minecraft:planks>, null, <minecraft:planks>], [null,<minecraft:planks>, null]], 20);
+
mods.forestry.Carpenter.addRecipe(<Forestry:oakStick> * 2, [[null, <minecraft:planks>, null], [<minecraft:planks>, null, <minecraft:planks>], [null, <minecraft:planks>, null]], 20, <minecraft:log>);
+
mods.forestry.Carpenter.addRecipe(<Forestry:oakStick> * 2, [[null, <minecraft:planks>, null], [<minecraft:planks>, null, <minecraft:planks>], [null,<minecraft:planks>, null]], <liquid:seedoil> * 100, 20, <minecraft:log>);
+
</pre>
+
 
+
//IIngredient output, <span style="color:red">@Optional ILiquidStack fluidInput</span>
+
mods.forestry.Carpenter.removeRecipe(<Forestry:impregnatedCasing>, <liquid:seedoil>);
+
 
+
* Centrifuge
+

Revision as of 13:10, 24 July 2016

The shared script directory: the scripts directory, directly inside your minecraft directory. Scripts stored in this directory (excluded in the subdirectory 'disabled') will apply to all worlds hosted by that minecraft instance - including Single-player games. They will NOT apply when you join another server, as scripts are always loaded from the server.