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 Copyimport mods.createtweaker.ProcessingOutput;
Methods
Link to methods
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();
Properties
Link to properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name chance | Type float | Has Getter true | Has Setter false |
Name stack | Type IItemStack | Has Getter true | Has Setter false |