Interface Machine


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

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

    • onInstruction

      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.