package com.tiedup.remake.tasks;

import com.tiedup.remake.state.IBondageState;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.level.Level;

/**
 *
 * Based on original UntyingTask from 1.12.2
 *
 * Extends TimedInteractTask for untying operations:
 * - Frees a tied entity over time
 * - Drops bondage items on the ground when complete
 */
public abstract class UntyingTask extends TimedInteractTask {

    /**
     * Create a new untying task.
     *
     * @param targetState The target's IBondageState state
     * @param targetEntity The target entity
     * @param seconds Total duration in seconds
     * @param level The world
     */
    public UntyingTask(
        IBondageState targetState,
        LivingEntity targetEntity,
        int seconds,
        Level level
    ) {
        super(targetState, targetEntity, seconds, level);
    }
}
