2015-11-02 12:39:44 -08:00
|
|
|
package WayofTime.bloodmagic.api.event;
|
2014-11-07 13:45:02 -05:00
|
|
|
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.item.ItemStack;
|
2015-07-29 08:23:01 -04:00
|
|
|
import net.minecraftforge.fml.common.eventhandler.Cancelable;
|
|
|
|
import net.minecraftforge.fml.common.eventhandler.Event;
|
2014-11-07 13:45:02 -05:00
|
|
|
|
2015-01-31 23:37:17 +00:00
|
|
|
@Cancelable
|
2015-12-30 15:34:40 -05:00
|
|
|
public class ItemBindEvent extends Event
|
|
|
|
{
|
2015-10-29 20:22:14 -07:00
|
|
|
public final EntityPlayer player;
|
|
|
|
public String key;
|
|
|
|
public ItemStack itemStack;
|
|
|
|
|
2015-12-30 15:34:40 -05:00
|
|
|
public ItemBindEvent(EntityPlayer player, String key, ItemStack itemStack)
|
|
|
|
{
|
2015-10-29 20:22:14 -07:00
|
|
|
super();
|
|
|
|
this.player = player;
|
|
|
|
this.key = key;
|
|
|
|
this.itemStack = itemStack;
|
|
|
|
}
|
2014-11-07 13:45:02 -05:00
|
|
|
}
|