package com.tiedup.remake.client.gltf.diagnostic;

import net.minecraft.resources.ResourceLocation;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import org.jetbrains.annotations.Nullable;

/**
 * A single diagnostic finding from GLB validation.
 */
@OnlyIn(Dist.CLIENT)
public record GlbDiagnostic(
    ResourceLocation source,
    @Nullable ResourceLocation itemDef,
    Severity severity,
    String code,
    String message
) {
    public enum Severity { ERROR, WARNING, INFO }
}
