Package | Description |
---|---|
com.chrismin13.additionsapi.items | |
com.chrismin13.additionsapi.utils | |
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 java.lang.String |
LangFileUtils.get(Attributes.AttributeType type) |
Modifier and Type | Field and Description |
---|---|
static Attributes.AttributeType |
Attributes.AttributeType.ARMOR |
static Attributes.AttributeType |
Attributes.AttributeType.ARMOR_TOUGHNESS |
static Attributes.AttributeType |
Attributes.AttributeType.GENERIC_ATTACK_DAMAGE |
static Attributes.AttributeType |
Attributes.AttributeType.GENERIC_ATTACK_SPEED |
static Attributes.AttributeType |
Attributes.AttributeType.GENERIC_FOLLOW_RANGE |
static Attributes.AttributeType |
Attributes.AttributeType.GENERIC_KNOCKBACK_RESISTANCE |
static Attributes.AttributeType |
Attributes.AttributeType.GENERIC_LUCK |
static Attributes.AttributeType |
Attributes.AttributeType.GENERIC_MAX_HEALTH |
static Attributes.AttributeType |
Attributes.AttributeType.GENERIC_MOVEMENT_SPEED |
static Attributes.AttributeType |
Attributes.AttributeType.HORSE_JUMP_STRENGTH |
static Attributes.AttributeType |
Attributes.AttributeType.ZOMBIE_SPAWN_REINFORCEMENTS |
Modifier and Type | Method and Description |
---|---|
static Attributes.AttributeType |
Attributes.AttributeType.fromId(java.lang.String minecraftId)
Retrieve the attribute type associated with a given ID.
|
Attributes.AttributeType |
Attributes.Attribute.getAttributeType() |
Attributes.AttributeType |
Attributes.AttributeType.register()
Register the type in the central registry.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Iterable<Attributes.AttributeType> |
Attributes.AttributeType.values()
Retrieve every registered attribute type.
|
Modifier and Type | Method and Description |
---|---|
Attributes.Attribute |
Attributes.Attribute.setAttributeType(Attributes.AttributeType type) |
Attributes.Attribute.Builder |
Attributes.Attribute.Builder.type(Attributes.AttributeType type) |