    001    package net.minecraftforge.client.event;
    002
    003    import net.minecraft.src.EntityPlayer;
    004    import net.minecraft.src.ItemStack;
    005    import net.minecraft.src.MovingObjectPosition;
    006    import net.minecraft.src.RenderGlobal;
    007    import net.minecraftforge.event.Cancelable;
    008    import net.minecraftforge.event.Event;
    009
    010    @Cancelable
    011    public class DrawBlockHighlightEvent extends Event
    012    {
    013        public final RenderGlobal context;
    014        public final EntityPlayer player;
    015        public final MovingObjectPosition target;
    016        public final int subID;
    017        public final ItemStack currentItem;
    018        public final float partialTicks;
    019
    020        public DrawBlockHighlightEvent(RenderGlobal context, EntityPlayer player, MovingObjectPosition target, int subID, ItemStack currentItem, float partialTicks)
    021        {
    022            this.context = context;
    023            this.player = player;
    024            this.target = target;
    025            this.subID = subID;
    026            this.currentItem = currentItem;
    027            this.partialTicks= partialTicks;
    028        }
    029
    030    }