ProcessingOutput

Link to processingoutput

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.ProcessingOutput;

Name: getChance

Return Type: float

ZenScript
Copy
// ProcessingOutput.getChance() as float

myProcessingOutput.getChance();

Name: getStack

Return Type: IItemStack

ZenScript
Copy
// ProcessingOutput.getStack() as IItemStack

myProcessingOutput.getStack();

Name: rollOutput

Return Type: IItemStack

ZenScript
Copy
// ProcessingOutput.rollOutput() as IItemStack

myProcessingOutput.rollOutput();
NameTypeHas GetterHas SetterDescription
Name
chance
Type
float
Has Getter
true
Has Setter
false
Description
No Description Provided
Name
stack
Type
IItemStack
Has Getter
true
Has Setter
false
Description
No Description Provided