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

top.hendrixshen.magiclib.impl.event.minecraft.MinecraftEvent Maven / Gradle / Ivy

package top.hendrixshen.magiclib.impl.event.minecraft;

import org.jetbrains.annotations.NotNull;
import top.hendrixshen.magiclib.api.event.Event;
import top.hendrixshen.magiclib.api.event.minecraft.MinecraftListener;

import java.util.List;

public class MinecraftEvent {
    public static class PostInitEvent implements Event {
        @Override
        public void dispatch(@NotNull List listeners) {
            listeners.forEach(MinecraftListener::postInit);
        }

        @Override
        public Class getListenerType() {
            return MinecraftListener.class;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy