    001package net.minecraftforge.client.event;
    002
    003import net.minecraft.entity.player.EntityPlayer;
    004import net.minecraft.item.ItemStack;
    005import net.minecraft.util.MovingObjectPosition;
    006import net.minecraft.client.renderer.RenderGlobal;
    007import net.minecraftforge.event.Cancelable;
    008import net.minecraftforge.event.Event;
    009
    010@Cancelable
    011public 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}