Template:Millstone/doc: Difference between revisions
Jump to navigation
Jump to search
Create: Minecraft Mod Wiki>Joker876 Created page with "{{Documentation subpage}} {{Lua|UI}} This template is used to create an interface to display Mechanical Saw recipes. See Template:Inventory slot for basic usage, this..." |
BoxWithout (talk | contribs) m 4 revisions imported |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{Lua|UI}} | {{Lua|UI}} | ||
This template is used to create an interface to display [[ | This template is used to create an interface to display [[Millstone]] recipes. | ||
See [[Template:Inventory slot]] for basic usage, this documentation page will cover additional or different functions. | See [[Template:Inventory slot]] for basic usage, this documentation page will cover additional or different functions. | ||
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"> | ||
{{ | {{Millstone | ||
|Input= | |Input=Wheat | ||
|Output1= | |Output1=Wheat Flour | ||
| | |Output2=Wheat Flour,2 | ||
|Output3= | |Chance2=25% | ||
|Output3=Wheat Seeds | |||
|Chance3=25% | |||
}} | }} | ||
</pre> | </pre> | ||
;produces | ;produces | ||
{{ | {{Millstone | ||
|Input= | |Input=Wheat | ||
|Output1= | |Output1=Wheat Flour | ||
| | |Output2=Wheat Flour,2 | ||
|Output3= | |Chance2=25% | ||
|Output3=Wheat Seeds | |||
|Chance3=25% | |||
}} | }} | ||
==See Also== | ==See Also== | ||
{{UI | {{UI see also}} | ||
<includeonly> | <includeonly> |
Latest revision as of 21:33, 14 February 2025
Lua error in package.lua at line 80: module 'Dev:Arguments' not found. This template is used to create an interface to display Millstone recipes.
See Template:Inventory slot for basic usage, this documentation page will cover additional or different functions.
Definition[edit source]
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[edit source]
{{Millstone |Input=Wheat |Output1=Wheat Flour |Output2=Wheat Flour,2 |Chance2=25% |Output3=Wheat Seeds |Chance3=25% }}
- produces
![]() |
![]() | ![]() | ![]() |
See Also[edit source]
{{Inventory slot}}
{{Crafting Table}}
{{Crafting Grid}}
{{Furnace}}
{{Brewing Stand}}
{{Stonecutter}}
{{Loom}}
{{Grindstone}}
{{Hotbar}}
{{Crushing Wheel}}
{{Bulk Washing}}
{{Bulk Haunting}}
{{Bulk Smoking}}
{{Bulk Blasting}}
{{Mechanical Mixer}}
{{Mechanical Press}}
{{Millstone}}
{{Mechanical Crafter}}
{{Mechanical Saw}}
{{Spout}}
{{Sand Paper}}
- Module:Inventory slot
- Module:Inventory slot/Aliases
- Module:UI