|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Attribute | |
|---|---|
| com.amoebaman.kitmaster.objects | |
| Uses of Attribute in com.amoebaman.kitmaster.objects |
|---|
| Fields in com.amoebaman.kitmaster.objects with type parameters of type Attribute | |
|---|---|
java.util.HashMap<Attribute,java.lang.Object> |
Kit.attributes
The set of attributes that have been defined for the kit. |
| Methods in com.amoebaman.kitmaster.objects that return Attribute | |
|---|---|
static Attribute |
Attribute.matchName(java.lang.String str)
Attempts to grab the Attribute that matches the given String. |
static Attribute |
Attribute.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Attribute[] |
Attribute.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in com.amoebaman.kitmaster.objects with parameters of type Attribute | |
|---|---|
boolean |
Kit.booleanAttribute(Attribute type)
Retrives the value of an attribute as a boolean. |
double |
Kit.doubleAttribute(Attribute type)
Retrives the value of an attribute as a double. |
java.lang.Object |
Kit.getAttribute(Attribute type)
Retrives the value of an attribute as it has been defined for this kit. |
int |
Kit.integerAttribute(Attribute type)
Retrives the value of an attribute as an int. |
boolean |
Kit.setAttribute(Attribute type,
java.lang.Object newValue)
Defines/redefines the value of an attribute for this kit. |
java.lang.String |
Kit.stringAttribute(Attribute type)
Retrives the value of an attribute as a String. |
| Constructor parameters in com.amoebaman.kitmaster.objects with type arguments of type Attribute | |
|---|---|
Kit(java.lang.String name,
java.util.List<org.bukkit.inventory.ItemStack> items,
java.util.List<org.bukkit.potion.PotionEffect> effects,
java.util.List<java.lang.String> permissions,
java.util.HashMap<Attribute,java.lang.Object> attributes)
Constructs a kit from the given specifications. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||