Interface Machine
public interface Machine
Represents a listener for an
Instruction.-
Method Summary
Modifier and TypeMethodDescriptionvoidonInstruction(@NotNull Instruction instruction) Called when the mod receives an instruction.
-
Method Details
-
onInstruction
Called when the mod receives an instruction.- Parameters:
instruction- The instruction received.- Throws:
Exception- If an error occurs while processing the instruction.
-