PotionBrewEvent
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.neoforge.api.event.brewing.PotionBrewEvent;
Extends
PotionBrewEvent extends Event
.
Members
getItem(index as int) as IItemStack
Getter
// PotionBrewEvent.length as intmyPotionBrewEvent.length
Return Type:
int
setItem(index as int, stack as IItemStack)
myPotionBrewEvent.setItem(myInt, myIItemStack);
Parameters:
index: int
Type: int
stack: IItemStack
Type: IItemStack