Skip to content

A hook-based way to use redstone interface #244

Open
@heipiao233

Description

@heipiao233

Is your feature request related to a problem? Please describe.
Sometimes we have to listen many redstone interfaces, so we can do it through polling. But this way is very slow, and if we are listening for short redstone signals like a button, the program may cannot receive the signal.

Describe the solution you'd like
Keep the old way, and add a new way: when the interface receives signal, call the hook function.

Describe alternatives you've considered
No

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions