personthecat.catlib.event.world.CommonWorldEvent 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.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)));
}