package net.minecraft.server.network;

import java.util.function.Consumer;
import net.minecraft.network.protocol.Packet;

public interface ConfigurationTask {
    void start(Consumer<Packet<?>> task);

    ConfigurationTask.Type type();

    public record Type(String id) {
        @Override
        public String toString() {
            return this.id;
        }
    }
}
