Template:Millstone/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
No edit summary
Create: Minecraft Mod Wiki>NonaWax
updated
Line 9: Line 9:
{{Ps|Input|yes|string|The input item. Accepts input such as <code>ItemName,Amount</code>.}}
{{Ps|Input|yes|string|The input item. Accepts input such as <code>ItemName,Amount</code>.}}
{{Ps|Output''N''|yes|reqtext=<br/><font size="-2" style="white-space: nowrap">(at least 1)</font>|string|The ''N''th output item. Accepts input such as <code>ItemName,Amount</code>. There can be unlimited input items.}}
{{Ps|Output''N''|yes|reqtext=<br/><font size="-2" style="white-space: nowrap">(at least 1)</font>|string|The ''N''th output item. Accepts input such as <code>ItemName,Amount</code>. There can be unlimited input items.}}
{{Ps|Chance''N''|No|string|The chance the ''N''th output item has to be output.}}
{{ParametersFoot}}
{{ParametersFoot}}
==Examples==
==Examples==
<pre style="width: 400px">
<pre style="width: 400px">
{{Mechanical Saw
{{Millstone
|Input=Bricks
|Input=Wheat
|Output1=Brick Slab,2
|Output1=Wheat Flour
|Output2=Brick Stairs
|Output2=Wheat Flour,2
|Output3=Brick Wall
|Chance2=25%
|Output3=Wheat Seeds
|Chance3=25%
}}
}}
</pre>
</pre>
;produces
;produces
{{Mechanical Saw
{{Millstone
|Input=Bricks
|Input=Wheat
|Output1=Brick Slab,2
|Output1=Wheat Flour
|Output2=Brick Stairs
|Output2=Wheat Flour,2
|Output3=Brick Wall
|Chance2=25%
|Output3=Wheat Seeds
|Chance3=25%
}}
}}



Revision as of 22:04, 19 October 2023

This is a documentation subpage for Template:Millstone.
It contains usage information, categories and other content that is not part of the original template page.

Lua error in package.lua at line 80: module 'Dev:Arguments' not found. This template is used to create an interface to display Mechanical Saw recipes.

See Template:Inventory slot for basic usage, this documentation page will cover additional or different functions.

Definition

Parameter R? Type Description Default
Input
Yes
/
The input item. Accepts input such as ItemName,Amount.
OutputN
Yes
(at least 1)
/
The Nth output item. Accepts input such as ItemName,Amount. There can be unlimited input items.
ChanceN
No
/
The chance the Nth output item has to be output.

Examples

{{Millstone
|Input=Wheat
|Output1=Wheat Flour
|Output2=Wheat Flour,2
|Chance2=25%
|Output3=Wheat Seeds
|Chance3=25%
}}
produces
Wheat
Milling
Wheat FlournilWheat Flour225%Wheat Seeds25%

See Also