DeployerApplicationRecipe

Link to deployerapplicationrecipe

Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import mods.createtweaker.DeployerApplicationRecipe;

Extending ProcessingRecipe

Link to extending-processingrecipe

DeployerApplicationRecipe extends ProcessingRecipe. That means all methods available in ProcessingRecipe are also available in DeployerApplicationRecipe

Implemented Interfaces

Link to implemented-interfaces

DeployerApplicationRecipe implements the following interfaces. That means all methods defined in these interfaces are also available in DeployerApplicationRecipe

Link to getProcessedItem

Name: getProcessedItem

Gets the processed Item.

Returns: The processed Item.
Return Type: IIngredient

ZenScript
Copy
// DeployerApplicationRecipe.getProcessedItem() as IIngredient

myDeployerApplicationRecipe.getProcessedItem();

Link to getRequiredHeldItem

Name: getRequiredHeldItem

Gets the required held item.

Returns: The required held item.
Return Type: IIngredient

ZenScript
Copy
// DeployerApplicationRecipe.getRequiredHeldItem() as IIngredient

myDeployerApplicationRecipe.getRequiredHeldItem();

Link to shouldKeepHeldItem

Name: shouldKeepHeldItem

Should the recipe keep the held item?

Returns: True if the recipe keeps the held item. False otherwise.
Return Type: boolean

ZenScript
Copy
// DeployerApplicationRecipe.shouldKeepHeldItem() as boolean

myDeployerApplicationRecipe.shouldKeepHeldItem();
NameTypeHas GetterHas SetterDescription
Name
processedItem
Type
IIngredient
Has Getter
true
Has Setter
false
Description
Gets the processed Item.
Name
requiredHeldItem
Type
IIngredient
Has Getter
true
Has Setter
false
Description
Gets the required held item.
Name
shouldKeepHeldItem
Type
boolean
Has Getter
true
Has Setter
false
Description
Should the recipe keep the held item?