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
ConstructorDescriptionAsyncMachineOperationFinishEvent
(io.github.bakedlibs.dough.blocks.BlockPosition pos, MachineProcessor<T> processor, T operation) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
This returns the usedMachineOperation
in the process.io.github.bakedlibs.dough.blocks.BlockPosition
This returns theBlockPosition
of the machine.TheMachineProcessor
instance 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 theBlockPosition
of the machine.- Returns:
- The
BlockPosition
of the machine
-
getProcessor
TheMachineProcessor
instance of the machine.- Returns:
- The
MachineProcessor
instance of the machine
-
getOperation
This returns the usedMachineOperation
in the process.- Returns:
- The
MachineOperation
of the process
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-