/*
 * Derived from Epic Fight (https://github.com/Epic-Fight/epicfight)
 * by the Epic Fight Team, licensed under GPLv3.
 * Modifications © 2026 TiedUp! Remake Contributors, distributed under GPLv3.
 */

package com.tiedup.remake.rig.anim.client.property;

import com.google.gson.JsonElement;

import net.minecraft.core.particles.SimpleParticleType;
import net.minecraft.world.phys.Vec3;

/**
 * Stub RIG Phase 0 — combat weapon particle trail. Pas utilisé dans TiedUp
 * (bondage, pas d'armes actives), mais on garde l'API typée pour JSON compat.
 * {@code deserialize} retourne toujours un trail neutre non-playable, donc
 * le block dans StaticAnimation est court-circuité (voir {@link #playable()}).
 */
public record TrailInfo(String joint, SimpleParticleType particle, boolean playable) {
	public static TrailInfo deserialize(JsonElement element) {
		return new TrailInfo("", null, false);
	}

	public Vec3 start() { return Vec3.ZERO; }
	public Vec3 end() { return Vec3.ZERO; }
	public float startTime() { return 0.0F; }
	public float endTime() { return 0.0F; }
}
