Interface Machine


public interface Machine
Represents a listener for an Instruction.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    Called when the mod receives an instruction.
  • Method Details Link icon

    • onInstruction Link icon

      void onInstruction(@NotNull @NotNull Instruction instruction) throws Exception
      Called when the mod receives an instruction.
      Parameters:
      instruction - The instruction received.
      Throws:
      Exception - If an error occurs while processing the instruction.