23 lines
565 B
Java
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);
|
|
}
|