mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-23 21:39:55 +00:00
More work on the implementation of events
This commit is contained in:
1 parent
dd3a093825
commit
39b4243a82
27 files changed
+217
-259
No files matched your search
@@ -0,0 +1,20 @@
|
||||
package WayofTime.alchemicalWizardry.api.event;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import cpw.mods.fml.common.eventhandler.Event;
|
||||
|
||||
public class ItemBindEvent extends Event
|
||||
{
|
||||
public final EntityPlayer player;
|
||||
public String key;
|
||||
public ItemStack itemStack;
|
||||
|
||||
public ItemBindEvent(EntityPlayer player, String key, ItemStack itemStack)
|
||||
{
|
||||
super();
|
||||
this.player = player;
|
||||
this.key = key;
|
||||
this.itemStack = itemStack;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user