Template:Mechanical Press/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 Bulk Blasting recipes. See Template:Inventory slot for basic usage, this..." |
Create: Minecraft Mod Wiki>Joker876 |
||
Line 8: | Line 8: | ||
===Common Parameters=== | ===Common Parameters=== | ||
{{PsHead}} | {{PsHead}} | ||
{{Ps|type|yes|The type of the process performed by the press. Available types: "packing", "compacting", and "pressing".}} | {{Ps|type|yes|string|The type of the process performed by the press. Available types: "packing", "compacting", and "pressing".}} | ||
{{PsFoot}} | {{PsFoot}} | ||
Other parameters that have to be specified depend on the {{S|type}} parameter. | Other parameters that have to be specified depend on the {{S|type}} parameter. | ||
===Parameters for "packing" type=== | ===Parameters for "packing" type=== | ||
{{PsHead}} | {{PsHead}} | ||
{{Ps|<A-C><1-3>|yes|The input that goes into a certain slot in a 2D grid. Accepts input such as <code>ItemName,Amount</code>. Letters correspond to horizontal slots, numbers to vertical slots.<br/>'''Note:''' If {{S|smallgrid}} is set to <code>true</code>, only letters A and B, and numbers 1 and 2 are supported.}} | {{Ps|<A-C><1-3>|yes|string|The input that goes into a certain slot in a 2D grid. Accepts input such as <code>ItemName,Amount</code>. Letters correspond to horizontal slots, numbers to vertical slots.<br/>'''Note:''' If {{S|smallgrid}} is set to <code>true</code>, only letters A and B, and numbers 1 and 2 are supported.}} | ||
{{Ps|smallgrid|no|bool|The size of the grid. If set to true, the grid will be 2x2. Otherwise, the grid will be 3x3.|false}} | {{Ps|smallgrid|no|bool|The size of the grid. If set to true, the grid will be 2x2. Otherwise, the grid will be 3x3.|false}} | ||
{{Ps|Output|yes|any|The output item. Accepts input such as <code>ItemName,Amount</code>.}} | {{Ps|Output|yes|any|The output item. Accepts input such as <code>ItemName,Amount</code>.}} | ||
Line 27: | Line 27: | ||
{{Ps|Output|yes|any|The output item. Accepts input such as <code>ItemName,Amount</code>.}} | {{Ps|Output|yes|any|The output item. Accepts input such as <code>ItemName,Amount</code>.}} | ||
{{PsFoot}} | {{PsFoot}} | ||
== Usage == | == Usage == | ||
==="packing" type=== | ==="packing" type=== |
Revision as of 09:39, 19 April 2021
Lua error in package.lua at line 80: module 'Dev:Arguments' not found. This template is used to create an interface to display Bulk Blasting recipes.
See Template:Inventory slot for basic usage, this documentation page will cover additional or different functions.
Definition
Common Parameters
Parameter | R? | Type | Description | Default |
---|---|---|---|---|
type |
Yes | ![]() ![]() |
The type of the process performed by the press. Available types: "packing", "compacting", and "pressing". |
Other parameters that have to be specified depend on the <type>
parameter.
Parameters for "packing" type
Parameter | R? | Type | Description | Default |
---|---|---|---|---|
<A-C><1-3> |
Yes | ![]() ![]() |
The input that goes into a certain slot in a 2D grid. Accepts input such as ItemName,Amount . Letters correspond to horizontal slots, numbers to vertical slots.Note: If <smallgrid> is set to true , only letters A and B, and numbers 1 and 2 are supported. |
|
smallgrid |
No | ![]() ![]() |
The size of the grid. If set to true, the grid will be 2x2. Otherwise, the grid will be 3x3. | false |
Output |
Yes | ![]() ![]() |
The output item. Accepts input such as ItemName,Amount . |
Parameters for "compacting" type
Parameter | R? | Type | Description | Default |
---|---|---|---|---|
InputN |
Yes (at least 1) |
![]() ![]() |
The Nth input item. Accepts input such as ItemName,Amount . There can be unlimited input items. |
|
Output |
Yes | ![]() ![]() |
The output item. Accepts input such as ItemName,Amount . |
Parameters for "pressing" type
Parameter | R? | Type | Description | Default |
---|---|---|---|---|
Input |
Yes | ![]() ![]() |
The input item. Accepts input such as ItemName,Amount . |
|
Output |
Yes | ![]() ![]() |
The output item. Accepts input such as ItemName,Amount . |
Usage
"packing" type
{{Mechanical Press |type=packing |smallgrid=1 |A1=Brick |B1=Brick |A2=Brick |B2=Brick |Output=Bricks }}
- produces
{{Mechanical Press |type=packing |A1=Ice |B1=Ice |C1=Ice |A2=Ice |B2=Ice |C2=Ice |A3=Ice |B3=Ice |C3=Ice |Output=Packed Ice }}
- produces
"compacting" type
{{Mechanical Press |type=compacting |Input1=Egg |Input2=Sugar |Input3=Cinder Flour |Output=Blaze Cake Base }}
- produces
"pressing" type
{{Mechanical Press |type=pressing |Input=Sugar Cane |Output=Paper }}
- produces
See also
{{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