promotional bannermobile promotional banner

AttributesAPI

Allows you (and further developers) to apply Attributes to ItemStacks
Back to Files

AttributesAPI 1.1

File nameAttributesAPI.jar
Uploaded
May 31, 2014
Downloads
2.5K
Size
34.0 KB
File ID
793431
Type
R
Release
Supported game versions
  • CB 1.7.9-R0.1

What's new

(API) Removed AttributeList, replaced with Attributes.

(API) You can apply Attributes now using

Attributes.apply(ItemStack is, Attribute a, boolean replace)

or

Attributes.apply(ItemStack is, Collection<? extends Attribute> a, boolean replace)

or

attribute.apply(ItemStack is, boolean replace)

(API) You can retrieve a List<Attribute> from an existing ItemStack using

Attributes.fromStack(ItemStack is)

This mod has no additional files