package top.r3944realms.lib39.api.event;

import net.minecraft.server.Services;
import net.minecraftforge.eventbus.api.Event;

import java.util.concurrent.Executor;

/**
 * The type Minecraft set up service event.
 */
public class MinecraftSetUpServiceEvent extends Event {
    /**
     * The Services.
     */
    public final Services services;
    /**
     * The Main thread executor.
     */
    public final Executor mainThreadExecutor;

    /**
     * Instantiates a new Minecraft set up service event.
     *
     * @param services           the services
     * @param mainThreadExecutor the main thread executor
     */
    public MinecraftSetUpServiceEvent(Services services, Executor mainThreadExecutor) {
        this.services = services;
        this.mainThreadExecutor = mainThreadExecutor;
    }
}
