Package net.minecraftforge.event.brewing
Class PotionBrewEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.event.brewing.PotionBrewEvent
-
- Direct Known Subclasses:
PotionBrewEvent.Post
,PotionBrewEvent.Pre
public class PotionBrewEvent extends net.minecraftforge.eventbus.api.Event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PotionBrewEvent.Post
PotionBrewEvent.Post is fired when a potion is brewed in the brewing stand.static class
PotionBrewEvent.Pre
PotionBrewEvent.Pre is fired before vanilla brewing takes place.
-
Field Summary
Fields Modifier and Type Field Description private NonNullList<ItemStack>
stacks
-
Constructor Summary
Constructors Modifier Constructor Description protected
PotionBrewEvent(NonNullList<ItemStack> stacks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStack
getItem(int index)
int
getLength()
void
setItem(int index, ItemStack stack)
-
-
-
Field Detail
-
stacks
private NonNullList<ItemStack> stacks
-
-
Constructor Detail
-
PotionBrewEvent
protected PotionBrewEvent(NonNullList<ItemStack> stacks)
-
-