IPotionBrewEvent
This event is extended by all events involving the brewing stand, although not the player-based function for extracting items from the brewing stand.
Importing the class
It might be required to import the class to avoid errors.
import crafttweaker.event.IPotionBrewEvent;
ZenGetters/ZenSetters
The following information can be retrieved/set during the event:
ZenGetter | ZenSetter | Type |
---|---|---|
ZenGetter length | ZenSetter | Type int |
ZenMethods
event.getItem(int)
returns IItemStack on the given index in the crafting station. Will return an empty IItemStack if the specified index is greater thanlength
.event.setItem(int, IItemStack)
Replaces or sets IItemStack on given index. If the index is greater than the length of the item array, nothing will happen.