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 whereItemStacks are brewed into differentItemStacks based on an ingredient which is also anItemStackwithin aBrewingStand.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceBrewingEvent.ConsumeFuelFired when a fuel item is consumed to refill the fuel bar.static interfaceBrewingEvent.FinishFires when brewing finished.static interfaceBrewingEvent.InterruptFires when brewing is interrupted.static interfaceBrewingEvent.StartFired when the brewing process starts.static interfaceBrewingEvent.TickFired every tick while brewing.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BrewingStandbrewingStand()Gets theBrewingStand.ItemStackSnapshotingredient()Gets theItemStackSnapshotas the ingredient used.
-
-
-
Method Detail
-
brewingStand
BrewingStand brewingStand()
Gets theBrewingStand.- Returns:
- The brewing stand
-
ingredient
ItemStackSnapshot ingredient()
Gets theItemStackSnapshotas the ingredient used.- Returns:
- The ingredient
-
-