BloodMagic/src/main/java/WayofTime/alchemicalWizardry/api/iface/IBindable.java
Nick e3d4afa123 Rewrite is Go!
Just moving over all my changes from my fork
2015-10-29 20:22:16 -07:00

18 lines
417 B
Java

package WayofTime.alchemicalWizardry.api.iface;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
/**
* Implement this interface on any Item that can be bound to a player.
*/
public interface IBindable {
/**
* Called when the player attempts to bind the item.
*
* If false, binding fails.
*/
boolean onBind(EntityPlayer player, ItemStack stack);
}