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 givenItemStack
Reference
.ItemAttributeList<T>
Attribute. getAll(Reference<net.minecraft.item.ItemStack> stackRef, LimitedConsumer<net.minecraft.item.ItemStack> excess)
Obtains all instances of this attribute in the givenItemStack
Reference
.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 givenItemStack
Reference
.ItemAttributeList<T>
Attribute. getAll(Reference<net.minecraft.item.ItemStack> stackRef, java.util.function.Predicate<T> filter)
Obtains all instances of this attribute in the givenItemStack
Reference
.ItemAttributeList<T>
Attribute. getAll(net.minecraft.item.ItemStack unmodifiableStack)
Obtains all instances of this attribute in the givenItemStack
Reference
.Methods in alexiil.mc.lib.attributes with parameters of type ItemAttributeList Modifier and Type Method Description void
ItemAttributeAdder. 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.void
AttributeProviderItem. 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.