Jump to content

Digital Crafter: Difference between revisions

From Advanced Computers Wiki
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>:getMainboardTier()</code>
| style="white-space: nowrap;" |<code>:searchRecipesWithIngredient("modname:itemname")</code>
|<code>integer</code>
|<code>recipe[]</code>
|Returns the tier of the mainboard, ranging from 1 to 3.
|
|-
|-
| style="white-space: nowrap;" |<code>:setUefiData(data:string)</code>
| style="white-space: nowrap;" |<code>:searchRecipesWithResult("modname:itemname")</code>
|<code>void</code>
|<code>recipe[]</code>
|Sets the executable [[UEFI]] data to the given string.
|
|-
|-
| style="white-space: nowrap;" |<code>:getUefiData()</code>
| style="white-space: nowrap;" |<code>:searchItemByName("partial name")</code>
|<code>string</code>
|<code>string</code>
|Returns the executable UEFI data.
|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

This page describes unreleased, experimental content that is still in development which might undergo significant changes or be removed entirely.

Description

Provided component

This block provides the autoCrafter component, offering the following properties:

AutoCrafterUD component 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.
AutoCrafterUD component methods
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