Package | Description |
---|---|
com.chrismin13.additionsapi.enums | |
com.chrismin13.additionsapi.files | |
com.chrismin13.additionsapi.permissions | |
com.chrismin13.additionsapi.utils |
Modifier and Type | Method and Description |
---|---|
ItemPermissions |
ToolType.getItemPermissions(java.lang.String permissionPrefix,
PermissionType type) |
ItemPermissions |
ItemType.getItemPermissions(java.lang.String permissionPrefix,
PermissionType type) |
Modifier and Type | Method and Description |
---|---|
PermissionType |
PermissionConfig.getDefaultType() |
Constructor and Description |
---|
PermissionConfig(PermissionType defaultType)
Create an instance of this Class.
|
Modifier and Type | Method and Description |
---|---|
PermissionType |
ItemPermissions.getType() |
static PermissionType |
PermissionType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PermissionType[] |
PermissionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ItemPermissions.setType(PermissionType type)
Set the PermissionType.
|
Constructor and Description |
---|
ArmorPermissions(java.lang.String permissionPrefix,
PermissionType type) |
BowPermissions(java.lang.String permissionPrefix,
PermissionType type) |
CarrotStickPermissions(java.lang.String permissionPrefix,
PermissionType type) |
ElytraPermissions(java.lang.String permissionPrefix,
PermissionType type) |
FishingRodPermissions(java.lang.String permissionPrefix,
PermissionType type) |
FlintAndSteelPermissions(java.lang.String permissionPrefix,
PermissionType type) |
HoePermissions(java.lang.String permissionPrefix,
PermissionType type) |
ItemPermissions(java.lang.String permissionPrefix,
PermissionType type)
Create a new ItemPermissions Object
|
ShearPermissions(java.lang.String permissionPrefix,
PermissionType type) |
ShieldPermissions(java.lang.String permissionPrefix,
PermissionType type) |
SpadePermissions(java.lang.String permissionPrefix,
PermissionType type) |
Modifier and Type | Method and Description |
---|---|
static boolean |
PermissionUtils.allowedAction(org.bukkit.entity.Player player,
PermissionType type,
java.lang.String permission) |