Package | Description |
---|---|
com.chrismin13.additionsapi.items | |
com.comphenix.attribute |
Modifier and Type | Method and Description |
---|---|
java.util.List<Attributes.Attribute> |
CustomItem.getAttributes() |
Modifier and Type | Method and Description |
---|---|
CustomItem |
CustomItem.setAttributes(java.util.List<Attributes.Attribute> attributes) |
Modifier and Type | Method and Description |
---|---|
Attributes.Attribute |
Attributes.Attribute.Builder.build() |
Attributes.Attribute |
Attributes.get(int index)
Retrieve the attribute at a given index.
|
Attributes.Attribute |
Attributes.Attribute.setAmount(double amount) |
Attributes.Attribute |
Attributes.Attribute.setAttributeType(Attributes.AttributeType type) |
Attributes.Attribute |
Attributes.Attribute.setName(java.lang.String name) |
Attributes.Attribute |
Attributes.Attribute.setOperation(Attributes.Operation operation) |
Attributes.Attribute |
Attributes.Attribute.setSlot(org.bukkit.inventory.EquipmentSlot slot) |
Attributes.Attribute |
Attributes.Attribute.setUUID(java.util.UUID id) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Attributes.Attribute> |
Attributes.values() |
Modifier and Type | Method and Description |
---|---|
Attributes |
Attributes.add(Attributes.Attribute attribute)
Add a new attribute to the list.
|
boolean |
Attributes.remove(Attributes.Attribute attribute)
Remove the first instance of the given attribute.
|