Uses of Interface
alexiil.mc.lib.attributes.ItemAttributeAdder
| Package | Description | 
|---|---|
| alexiil.mc.lib.attributes | 
- 
Uses of ItemAttributeAdder in alexiil.mc.lib.attributes
Methods in alexiil.mc.lib.attributes with parameters of type ItemAttributeAdder Modifier and Type Method Description voidAttribute. addItemPredicateAdder(AttributeSourceType sourceType, boolean specific, java.util.function.Predicate<net.minecraft.item.Item> filter, ItemAttributeAdder<T> adder)Predicate-based item attribute adder.Attribute<T>Attribute. appendItemAdder(ItemAttributeAdder<T> itemAdder)Appends a singleItemAttributeAdderto the list of custom item adders.CombinableAttribute<T>CombinableAttribute. appendItemAdder(ItemAttributeAdder<T> itemAdder)DefaultedAttribute<T>DefaultedAttribute. appendItemAdder(ItemAttributeAdder<T> itemAdder)voidAttribute. putItemClassAdder(AttributeSourceType sourceType, java.lang.Class<?> clazz, boolean matchSubclasses, ItemAttributeAdder<T> adder)Class-based item attribute adder.voidAttribute. setItemAdder(AttributeSourceType sourceType, net.minecraft.item.Item item, ItemAttributeAdder<T> adder)Sets theItemAttributeAdderfor the given item, which is only used if the item in question doesn't implementAttributeProviderItem.