Uses of Interface
alexiil.mc.lib.attributes.ItemAttributeAdder
Packages that use ItemAttributeAdder
-
Uses of ItemAttributeAdder in alexiil.mc.lib.attributes
Methods in alexiil.mc.lib.attributes with parameters of type ItemAttributeAdderModifier and TypeMethodDescriptionfinal voidAttribute.addItemPredicateAdder(AttributeSourceType sourceType, boolean specific, Predicate<net.minecraft.item.Item> filter, ItemAttributeAdder<T> adder) Predicate-based item attribute adder.Attribute.appendItemAdder(ItemAttributeAdder<T> itemAdder) Appends a singleItemAttributeAdderto the list of custom item adders.CombinableAttribute.appendItemAdder(ItemAttributeAdder<T> itemAdder) DefaultedAttribute.appendItemAdder(ItemAttributeAdder<T> itemAdder) final voidAttribute.putItemClassAdder(AttributeSourceType sourceType, Class<?> clazz, boolean matchSubclasses, ItemAttributeAdder<T> adder) Class-based item attribute adder.final 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.