Class AsyncMachineOperationFinishEvent
java.lang.Object
org.bukkit.event.Event
io.github.thebusybiscuit.slimefun4.api.events.AsyncMachineOperationFinishEvent
- Author:
- poma123, TheBusyBiscuit
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionAsyncMachineOperationFinishEvent(io.github.bakedlibs.dough.blocks.BlockPosition pos, MachineProcessor<T> processor, T operation) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListThis returns the usedMachineOperationin the process.io.github.bakedlibs.dough.blocks.BlockPositionThis returns theBlockPositionof the machine.TheMachineProcessorinstance of the machine.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AsyncMachineOperationFinishEvent
public AsyncMachineOperationFinishEvent(io.github.bakedlibs.dough.blocks.BlockPosition pos, MachineProcessor<T> processor, T operation)
-
-
Method Details
-
getPosition
@Nonnull public io.github.bakedlibs.dough.blocks.BlockPosition getPosition()This returns theBlockPositionof the machine.- Returns:
- The
BlockPositionof the machine
-
getProcessor
TheMachineProcessorinstance of the machine.- Returns:
- The
MachineProcessorinstance of the machine
-
getOperation
This returns the usedMachineOperationin the process.- Returns:
- The
MachineOperationof the process
-
getHandlerList
-
getHandlers
- Specified by:
getHandlersin classEvent
-