Package | Description |
---|---|
com.chrismin13.additionsapi.enums | |
com.chrismin13.additionsapi.items | |
com.chrismin13.additionsapi.permissions |
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 |
---|---|
ItemPermissions |
CustomItem.getPermissions() |
Modifier and Type | Method and Description |
---|---|
void |
CustomItem.setPermissions(ItemPermissions permissions)
Set the Permission System for the Custom Item.
|
Constructor and Description |
---|
CustomItem(org.bukkit.Material material,
int amount,
short durability,
java.lang.String idName,
ItemDurability itemDurability,
ItemPermissions itemPermissions)
Create a new Custom Item.
|
Modifier and Type | Class and Description |
---|---|
class |
ArmorPermissions
This specifies the permissions that will be checked when using the Custom
Armor.
|
class |
BowPermissions
This specifies the permissions that will be checked when using a Custom Bow.
|
class |
CarrotStickPermissions
TODO: STILL NOT DONE.
|
class |
ElytraPermissions
This specifies the permissions that will be checked when using the Custom
Item that is of Material ELYTRA
|
class |
FishingRodPermissions
This specifies the permissions that will be checked when using the Custom
Item that is of Material FISHING_ROD
|
class |
FlintAndSteelPermissions
This specifies the permissions that will be checked when using the Custom
Item that is of Material FLINT_AND_STEEL.
|
class |
HoePermissions
This specifies the permissions that will be checked when using the Custom
Tool that is of ToolType HOE.
|
class |
ShearPermissions
This specifies the permissions that will be checked when using the Custom
Item that is of Material SHEARS.
|
class |
ShieldPermissions
This specifies the permissions that will be checked when using the Custom
Item that is of Material SHIELD.
|
class |
SpadePermissions
This specifies the permissions that will be checked when using the Custom
Tool that is of ToolType SPADE.
|
Modifier and Type | Method and Description |
---|---|
ItemPermissions |
ItemPermissions.setBreak(java.lang.String blockBreak)
Set the permission node for breaking a block.
|
ItemPermissions |
ItemPermissions.setHit(java.lang.String hit)
Set the permission node for hitting another entity.
|