All Downloads are FREE. Search and download functionalities are using the official Maven repository.

personthecat.catlib.event.world.CommonWorldEvent Maven / Gradle / Ivy

Go to download

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)));
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy