Template:Mechanical Press/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
BoxWithout (talk | contribs)
m 6 revisions imported
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{lua|UI}}
{{lua|UI}}
This template is used to create an interface to display [[Bulk Blasting]] recipes.
This template is used to create an interface to display [[Mechanical Press]] 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 13: Line 13:
===Parameters for "packing" type===
===Parameters for "packing" type===
{{PsHead}}
{{PsHead}}
{{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|Input|yes|string|The input item that fills the input slots. Accepts input such as <code>ItemName,Amount</code>.}}
{{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 33: Line 33:
|type=packing
|type=packing
|smallgrid=1
|smallgrid=1
|A1=Brick |B1=Brick
|Input=Brick
|A2=Brick |B2=Brick
|Output=Bricks
|Output=Bricks
}}</pre>
}}</pre>
Line 41: Line 40:
|type=packing
|type=packing
|smallgrid=1
|smallgrid=1
|A1=Brick |B1=Brick
|Input=Brick
|A2=Brick |B2=Brick
|Output=Bricks
|Output=Bricks
}}
}}
Line 48: Line 46:
<pre style="width: 250px">{{Mechanical Press
<pre style="width: 250px">{{Mechanical Press
|type=packing
|type=packing
|A1=Ice |B1=Ice |C1=Ice
|Input=Ice
|A2=Ice |B2=Ice |C2=Ice
|A3=Ice |B3=Ice |C3=Ice
|Output=Packed Ice
|Output=Packed Ice
}}</pre>
}}</pre>
Line 56: Line 52:
{{Mechanical Press
{{Mechanical Press
|type=packing
|type=packing
|A1=Ice |B1=Ice |C1=Ice
|Input=Ice
|A2=Ice |B2=Ice |C2=Ice
|A3=Ice |B3=Ice |C3=Ice
|Output=Packed Ice
|Output=Packed Ice
}}
}}

Latest revision as of 21:33, 14 February 2025

This is a documentation subpage for Template:Mechanical Press.
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 Press recipes.

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

Definition[edit source]

Common Parameters[edit source]

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[edit source]

Parameter R? Type Description Default
Input
Yes
/
The input item that fills the input slots. Accepts input such as ItemName,Amount.
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[edit source]

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[edit source]

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[edit source]

"packing" type[edit source]

{{Mechanical Press
|type=packing
|smallgrid=1
|Input=Brick
|Output=Bricks
}}
produces
BrickBrick
BrickBrick
Mechanical Press
Bricks


{{Mechanical Press
|type=packing
|Input=Ice
|Output=Packed Ice
}}
produces
IceIceIce
IceIceIce
IceIceIce
Mechanical Press
Packed Ice

"compacting" type[edit source]

{{Mechanical Press
|type=compacting
|Input1=Egg
|Input2=Sugar
|Input3=Cinder Flour
|Output=Blaze Cake Base
}}
produces
EggSugarCinder Flour
Mechanical Press
Blaze Cake Base

"pressing" type[edit source]

{{Mechanical Press
|type=pressing
|Input=Sugar Cane
|Output=Paper
}}
produces
Sugar Cane
Mechanical Press
Paper

See also[edit source]