personthecat.catlib.event.player.CommonPlayerEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catlib-quilt Show documentation
Show all versions of catlib-quilt Show documentation
Utilities for serialization, commands, noise generation, IO, and some new data types.
The newest version!
package personthecat.catlib.event.player;
import personthecat.catlib.event.LibEvent;
public class CommonPlayerEvent {
public static final LibEvent LOGIN =
LibEvent.create(callbacks -> (p, s) -> callbacks.forEach(callback -> callback.accept(p, s)));
public static final LibEvent LOGOUT =
LibEvent.create(callbacks -> (p, s) -> callbacks.forEach(callback -> callback.accept(p, s)));
}