Digital Crafter
Appearance
Description
Provided component
This block provides the autoCrafter component, offering the following properties:
| Name | Type | Read/Write | Description |
|---|---|---|---|
isBusy
|
boolean
|
READ | Whether the auto crafter is currently crafting something and thus not able to accept another :craft call. |
| 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)
|
number | If all required items are available, begins crafting and returns amount of seconds that this crafting operation will take.
Otherwise throws an error describing the problem. |