Digital Crafter: Difference between revisions
Appearance
Created page with "{{Template:Future Content}}Description == Provided component == This block provides the <code>autoCrafter</code> component, offering the following properties: {| class="wikitable" |+AutoCrafterUD component properties !Name !Type !Read/Write !Description |- |<code>containsMainboard</code> |<code>boolean</code> |READ |Returns whether a mainboard is located in the GUI slot. If this is false, most methods will throw an error. |} {| class="wikitable" |+AutoCrafterUD componen..." |
No edit summary |
||
| Line 21: | Line 21: | ||
!Description | !Description | ||
|- | |- | ||
| style="white-space: nowrap;" |<code>: | | style="white-space: nowrap;" |<code>:searchRecipesWithIngredient("modname:itemname")</code> | ||
|<code> | |<code>recipe[]</code> | ||
| | | | ||
|- | |- | ||
| style="white-space: nowrap;" |<code>: | | style="white-space: nowrap;" |<code>:searchRecipesWithResult("modname:itemname")</code> | ||
|<code> | |<code>recipe[]</code> | ||
| | | | ||
|- | |- | ||
| style="white-space: nowrap;" |<code>: | | style="white-space: nowrap;" |<code>:searchItemByName("partial name")</code> | ||
|<code>string</code> | |<code>string</code> | ||
|Returns the | |Returns the full name of the item | ||
|- | |||
|<code>:craft(9x ingredientModnameItemname, resultModnameItemname, amount)</code> | |||
|boolean | |||
|Returns success | |||
|} | |} | ||
Revision as of 13:27, 23 August 2026
Description
Provided component
This block provides the autoCrafter component, offering the following properties:
| Name | Type | Read/Write | Description |
|---|---|---|---|
containsMainboard
|
boolean
|
READ | Returns whether a mainboard is located in the GUI slot. If this is false, most methods will throw an error. |
| Name | Type | Description |
|---|---|---|
:searchRecipesWithIngredient("modname:itemname")
|
recipe[]
|
|
:searchRecipesWithResult("modname:itemname")
|
recipe[]
|
|
:searchItemByName("partial name")
|
string
|
Returns the full name of the item |
:craft(9x ingredientModnameItemname, resultModnameItemname, amount)
|
boolean | Returns success |