Interface BrewingEvent
- All Superinterfaces:
Event
- All Known Subinterfaces:
BrewingEvent.ConsumeFuel,BrewingEvent.Finish,BrewingEvent.Interrupt,BrewingEvent.Start,BrewingEvent.Tick
Fires during the brewing process where
ItemStacks are brewed into different ItemStacks
based on an ingredient which is also an ItemStack within a BrewingStand.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceFired when a fuel item is consumed to refill the fuel bar.static interfaceFires when brewing finished.static interfaceFires when brewing is interrupted.static interfaceFired when the brewing process starts.static interfaceFired every tick while brewing. -
Method Summary
Modifier and TypeMethodDescriptionGets theBrewingStand.Gets theItemStackSnapshotas the ingredient used.
-
Method Details
-
brewingStand
BrewingStand brewingStand()Gets theBrewingStand.- Returns:
- The brewing stand
-
ingredient
ItemStackSnapshot ingredient()Gets theItemStackSnapshotas the ingredient used.- Returns:
- The ingredient
-