IPotionBrewEvent

Link to 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

Link to importing-the-class

It might be required to import the class to avoid errors.
import crafttweaker.event.IPotionBrewEvent;

ZenGetters/ZenSetters

Link to zengetterszensetters

The following information can be retrieved/set during the event:

ZenGetterZenSetterType
ZenGetter
length
ZenSetter
Type
int
  • event.getItem(int) returns IItemStack on the given index in the crafting station. Will return an empty IItemStack if the specified index is greater than length.
  • 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.