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 void
Attribute. 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 singleItemAttributeAdder
to the list of custom item adders.CombinableAttribute<T>
CombinableAttribute. appendItemAdder(ItemAttributeAdder<T> itemAdder)
DefaultedAttribute<T>
DefaultedAttribute. appendItemAdder(ItemAttributeAdder<T> itemAdder)
void
Attribute. putItemClassAdder(AttributeSourceType sourceType, java.lang.Class<?> clazz, boolean matchSubclasses, ItemAttributeAdder<T> adder)
Class
-based item attribute adder.void
Attribute. setItemAdder(AttributeSourceType sourceType, net.minecraft.item.Item item, ItemAttributeAdder<T> adder)
Sets theItemAttributeAdder
for the given item, which is only used if the item in question doesn't implementAttributeProviderItem
.