Interface CookingEvent.Tick
-
- All Superinterfaces:
Cancellable
,CookingEvent
,Event
- Enclosing interface:
- CookingEvent
public static interface CookingEvent.Tick extends CookingEvent, Cancellable
The cooking timer ticking up or down.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.block.entity.CookingEvent
CookingEvent.ConsumeFuel, CookingEvent.Finish, CookingEvent.Interrupt, CookingEvent.Start, CookingEvent.Tick
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ItemStackSnapshot
cookingItem()
Returns the stack currently cooking.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.block.entity.CookingEvent
blockEntity, fuel, recipe
-
-
-
-
Method Detail
-
cookingItem
ItemStackSnapshot cookingItem()
Returns the stack currently cooking.- Returns:
- The stack currently cooking
-
-