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