Uses of Class
alexiil.mc.lib.attributes.ItemAttributeList
| Package | Description |
|---|---|
| alexiil.mc.lib.attributes |
-
Uses of ItemAttributeList in alexiil.mc.lib.attributes
Methods in alexiil.mc.lib.attributes that return ItemAttributeList Modifier and Type Method Description ItemAttributeList<T>Attribute. getAll(Reference<net.minecraft.item.ItemStack> stackRef)Obtains all instances of this attribute in the givenItemStackReference.ItemAttributeList<T>Attribute. getAll(Reference<net.minecraft.item.ItemStack> stackRef, LimitedConsumer<net.minecraft.item.ItemStack> excess)Obtains all instances of this attribute in the givenItemStackReference.ItemAttributeList<T>Attribute. getAll(Reference<net.minecraft.item.ItemStack> stackRef, LimitedConsumer<net.minecraft.item.ItemStack> excess, java.util.function.Predicate<T> filter)Obtains all instances of this attribute in the givenItemStackReference.ItemAttributeList<T>Attribute. getAll(Reference<net.minecraft.item.ItemStack> stackRef, java.util.function.Predicate<T> filter)Obtains all instances of this attribute in the givenItemStackReference.ItemAttributeList<T>Attribute. getAll(net.minecraft.item.ItemStack unmodifiableStack)Obtains all instances of this attribute in the givenItemStackReference.Methods in alexiil.mc.lib.attributes with parameters of type ItemAttributeList Modifier and Type Method Description voidItemAttributeAdder. addAll(Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excess, ItemAttributeList<T> to)Adds every attribute instance to the given list that the item itself cannot be expected to add support for.voidAttributeProviderItem. addAllAttributes(Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excess, ItemAttributeList<?> to)Adds every attribute instance to the given list that the item itself cannot be expected to add support for.