| Package | Description |
|---|---|
| com.chrismin13.additionsapi.items | |
| com.comphenix.attribute |
| Modifier and Type | Method and Description |
|---|---|
CustomArmor |
CustomArmor.addAttribute(Attributes.AttributeType type,
double amount,
Attributes.Operation operation)
Adds an Attribute to the CustomItem.
|
CustomItem |
CustomItem.addAttribute(Attributes.AttributeType type,
double amount,
org.bukkit.inventory.EquipmentSlot slot,
Attributes.Operation operation)
Adds an Attribute to the CustomItem.
|
CustomItem |
CustomItem.addAttribute(Attributes.AttributeType type,
double amount,
org.bukkit.inventory.EquipmentSlot slot,
Attributes.Operation operation,
java.util.UUID uuid)
Adds an Attribute to the CustomItem.
|
void |
CustomItemStack.addAttribute(Attributes.AttributeType type,
java.lang.String name,
double amount,
java.util.UUID uuid,
org.bukkit.inventory.EquipmentSlot slot,
Attributes.Operation operation)
Add an attribute to the ItemStack.
|
CustomItem |
CustomItem.addAttribute(java.lang.String name,
Attributes.AttributeType type,
double amount,
org.bukkit.inventory.EquipmentSlot slot,
Attributes.Operation operation,
java.util.UUID uuid)
Adds an Attribute to the CustomItem.
|
void |
CustomItemStack.removeAttribute(Attributes.AttributeType type,
java.lang.String name,
double amount,
java.util.UUID uuid,
org.bukkit.inventory.EquipmentSlot slot,
Attributes.Operation operation)
Remove an Attribute from the Custom Item.
|
| Modifier and Type | Method and Description |
|---|---|
static Attributes.Operation |
Attributes.Operation.fromId(int id) |
Attributes.Operation |
Attributes.Attribute.getOperation() |
static Attributes.Operation |
Attributes.Operation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Attributes.Operation[] |
Attributes.Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Attributes.Attribute.Builder |
Attributes.Attribute.Builder.operation(Attributes.Operation operation) |
Attributes.Attribute |
Attributes.Attribute.setOperation(Attributes.Operation operation) |