electrodynamics/APIs/mffs/api/card/ICardIdentification.java
2013-11-28 10:46:24 -05:00

23 lines
565 B
Java

package mffs.api.card;
import mffs.api.security.Permission;
import net.minecraft.item.ItemStack;
/**
* Applied to Item ID cards.
*
* @author Calclavia
*
*/
public interface ICardIdentification extends ICard
{
public boolean hasPermission(ItemStack itemStack, Permission permission);
public boolean addPermission(ItemStack itemStack, Permission permission);
public boolean removePermission(ItemStack itemStack, Permission permission);
public String getUsername(ItemStack itemStack);
public void setUsername(ItemStack itemStack, String username);
}