Package | Description |
---|---|
com.chrismin13.additionsapi.durability | |
com.chrismin13.additionsapi.enums | |
com.chrismin13.additionsapi.items | |
com.chrismin13.additionsapi.items.textured |
Modifier and Type | Class and Description |
---|---|
class |
ArmorDurability
This specifies how an armor piece will have its durability reduced when
performing certain actions.
|
class |
AxeDurability
This specifies how an axe will have its durability reduced when performing
certain actions.
|
class |
BowDurability
This specifies how a bow will have its durability reduced when performing
certain actions.
|
class |
CarrotStickDurability
TODO: STILL NOT DONE.
|
class |
ElytraDurability
This specifies how an elytra will have its durability reduced when performing
certain actions.
|
class |
FishingRodDurability
This specifies how a Fishing Rod will have its durability reduced when
performing certain actions.
|
class |
FlintAndSteelDurability
This specifies how a Flint and Steel will have its durability reduced when
performing certain actions.
|
class |
HoeDurability
This specifies how a hoe will have its durability reduced when performing
certain actions.
|
class |
PickaxeDurability
This specifies how a pickaxe will have its durability reduced when performing
certain actions.
|
class |
ShearDurability
This specifies how shears will have their durability reduced when performing
certain actions.
|
class |
ShieldDurability
This specifies how a shield will have its durability reduced when performing
certain actions.
|
class |
SpadeDurability
This specifies how a spade will have its durability reduced when performing
certain actions.
|
class |
SwordDurability
This specifies how a sword will have its durability reduced when performing
certain actions.
|
Modifier and Type | Method and Description |
---|---|
ItemDurability |
ItemDurability.addSpecialBlock(org.bukkit.Material material,
int durability)
Adds a Special Block.
|
ItemDurability |
ItemDurability.setBlockBreak(int blockBreak)
Set the amount of durability reduced when breaking a block.
|
ItemDurability |
ItemDurability.setEntityHit(int entityHit)
Set the amount of durability reduced when hitting another entity.
|
ItemDurability |
ItemDurability.setInstantBlockBreak(int instantBlockBreak)
Set the amount of durability reduced when breaking a block that has an
instant breaking speed, e.g.
|
Modifier and Type | Method and Description |
---|---|
ItemDurability |
ToolType.getDurabilityMechanics() |
ItemDurability |
ItemType.getItemDurability() |
Modifier and Type | Method and Description |
---|---|
ItemDurability |
CustomItem.getDurabilityMechanics() |
Modifier and Type | Method and Description |
---|---|
CustomItem |
CustomItem.setDurabilityMechanics(ItemDurability itemDurability)
These determine how the durability of the CustomItem, both for Fake and real
durability, will drop.
|
CustomItem |
CustomArmor.setDurabilityMechanics(ItemDurability itemDurability)
Deprecated.
|
Constructor and Description |
---|
CustomBow(int amount,
short durability,
java.lang.String idName,
ItemDurability itemDurability)
Creates a Custom Bow.
|
CustomItem(org.bukkit.Material material,
int amount,
short durability,
java.lang.String idName,
ItemDurability itemDurability)
Create a new Custom Item.
|
CustomItem(org.bukkit.Material material,
int amount,
short durability,
java.lang.String idName,
ItemDurability itemDurability,
ItemPermissions itemPermissions)
Create a new Custom Item.
|
Constructor and Description |
---|
CustomTexturedBow(int amount,
java.lang.String idName,
ItemDurability itemDurability,
java.lang.String defaultTexture)
Creates a
CustomTexturedBow |