    001package net.minecraftforge.event.entity.minecart;
    002
    003import net.minecraft.entity.item.EntityMinecart;
    004import net.minecraft.entity.player.EntityPlayer;
    005import net.minecraftforge.event.Cancelable;
    006
    007@Cancelable
    008public 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}