    001    package net.minecraftforge.event.entity.minecart;
    002
    003    import net.minecraft.src.EntityMinecart;
    004    import net.minecraft.src.EntityPlayer;
    005    import net.minecraftforge.event.Cancelable;
    006
    007    @Cancelable
    008    public class MinecartInteractEvent extends MinecartEvent
    009    {
    010        public final EntityPlayer player;
    011
    012        public MinecartInteractEvent(EntityMinecart minecart, EntityPlayer player)
    013        {
    014            super(minecart);
    015            this.player = player;
    016        }
    017    }