Interface CookingEvent.Tick
- All Superinterfaces:
Cancellable,CookingEvent,Event
- Enclosing interface:
CookingEvent
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
Modifier and TypeMethodDescriptionReturns the stack currently cooking.Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelledMethods inherited from interface org.spongepowered.api.event.block.entity.CookingEvent
blockEntity, fuel, recipe, recipeKey
-
Method Details
-
cookingItem
ItemStackSnapshot cookingItem()Returns the stack currently cooking.- Returns:
- The stack currently cooking
-