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