    001package net.minecraftforge.event.entity.minecart;
    002
    003import net.minecraft.entity.Entity;
    004import net.minecraft.entity.item.EntityMinecart;
    005
    006public class MinecartCollisionEvent extends MinecartEvent
    007{
    008    public final Entity collider;
    009
    010    public MinecartCollisionEvent(EntityMinecart minecart, Entity collider)
    011    {
    012        super(minecart);
    013        this.collider = collider;
    014    }
    015}