personthecat.catlib.event.world.CommonWorldEvent Maven / Gradle / Ivy
package personthecat.catlib.event.world;
import personthecat.catlib.event.LibEvent;
import java.util.function.Consumer;
import net.minecraft.class_1936;
public class CommonWorldEvent {
public static final LibEvent> LOAD =
LibEvent.create(consumers -> level -> consumers.forEach(consumer -> consumer.accept(level)));
public static final LibEvent> UNLOAD =
LibEvent.create(consumers -> level -> consumers.forEach(consumer -> consumer.accept(level)));
}