
package org.spongepowered.api.event.entity;

import org.spongepowered.api.entity.Entity;
import org.spongepowered.api.event.Cancellable;

/**
 * An event that is called when an entity becomes leashed.
 */
public interface EntityLeashEvent extends EntityEvent, Cancellable {

    /**
     * Gets the leash holder of the leash.
     *
     * @return The leash holder
     */
    Entity getLeashHolder();

}
