Skip to content

cubk1/EventManager

Repository files navigation

EventManager

Reflective Event System made for create minecraft client form scratch

Adding to your project:

If you have not already, add Jitpack as a repository:

repositories {
    maven { url 'https://jitpack.io' }
}

Add this in the dependencies block:

dependencies {
    implementation 'com.github.cubk1:EventManager:-SNAPSHOT'
}

Create Instance

EventManager eventManager = new EventManager();

Register

Test test = new Test();
eventManager.register(test); // register
eventManager.unregister(test); // unregister

Call Event

eventManager.call(new UpdateEvent());

About

Easy to use reflection event system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages