Package | Description |
---|---|
org.bukkit.attribute |
Classes relevant to attributes.
|
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
Modifier and Type | Method and Description |
---|---|
static @NotNull AttributeModifier |
AttributeModifier.deserialize(@NotNull Map<String,Object> args) |
Modifier and Type | Method and Description |
---|---|
void |
AttributeInstance.addModifier(@NotNull AttributeModifier modifier)
Add a modifier to this instance.
|
void |
AttributeInstance.removeModifier(@NotNull AttributeModifier modifier)
Remove a modifier from this instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ItemMeta.addAttributeModifier(@NotNull Attribute attribute,
@NotNull AttributeModifier modifier)
Add an Attribute and it's Modifier.
|
boolean |
ItemMeta.removeAttributeModifier(@NotNull Attribute attribute,
@NotNull AttributeModifier modifier)
Remove a specific
Attribute and AttributeModifier . |
Copyright © 2021. All rights reserved.