personthecat.catlib.event.registry.RegistryAccessEvent 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.registry;
import personthecat.catlib.event.LibEvent;
import java.util.function.Consumer;
import net.minecraft.class_5455;
public class RegistryAccessEvent {
public static final LibEvent> EVENT =
LibEvent.create(callbacks -> access -> callbacks.forEach(c -> c.accept(access)));
}