Interface BrewingEvent
-
- All Superinterfaces:
Event
- All Known Subinterfaces:
BrewingEvent.ConsumeFuel
,BrewingEvent.Finish
,BrewingEvent.Interrupt
,BrewingEvent.Start
,BrewingEvent.Tick
public interface BrewingEvent extends Event
Fires during the brewing process whereItemStack
s are brewed into differentItemStack
s based on an ingredient which is also anItemStack
within aBrewingStand
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
BrewingEvent.ConsumeFuel
Fired when a fuel item is consumed to refill the fuel bar.static interface
BrewingEvent.Finish
Fires when brewing finished.static interface
BrewingEvent.Interrupt
Fires when brewing is interrupted.static interface
BrewingEvent.Start
Fired when the brewing process starts.static interface
BrewingEvent.Tick
Fired every tick while brewing.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BrewingStand
brewingStand()
Gets theBrewingStand
.ItemStackSnapshot
ingredient()
Gets theItemStackSnapshot
as the ingredient used.
-
-
-
Method Detail
-
brewingStand
BrewingStand brewingStand()
Gets theBrewingStand
.- Returns:
- The brewing stand
-
ingredient
ItemStackSnapshot ingredient()
Gets theItemStackSnapshot
as the ingredient used.- Returns:
- The ingredient
-
-