Class AsyncMachineOperationFinishEvent

java.lang.Object
org.bukkit.event.Event
io.github.thebusybiscuit.slimefun4.api.events.AsyncMachineOperationFinishEvent

public class AsyncMachineOperationFinishEvent extends Event
This Event is fired whenever an MachineProcessor has completed a MachineOperation.
Author:
poma123, TheBusyBiscuit
  • 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 the BlockPosition of the machine.
      Returns:
      The BlockPosition of the machine
    • getProcessor

      @Nullable public MachineProcessor<?> getProcessor()
      The MachineProcessor instance of the machine.
      Returns:
      The MachineProcessor instance of the machine
    • getOperation

      @Nullable public MachineOperation getOperation()
      This returns the used MachineOperation in the process.
      Returns:
      The MachineOperation of the process
    • getHandlerList

      @Nonnull public static HandlerList getHandlerList()
    • getHandlers

      @Nonnull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event