Package alexiil.mc.lib.attributes.item
package alexiil.mc.lib.attributes.item
-
ClassDescriptionBase interface for
FixedItemInvView
andGroupedItemInvView
.AFixedItemInvView
that can have it's contents changed.The "complex" variant ofFixedItemInv
that always returns copies of the stack held.The "simpler" variant ofFixedItemInv
which allows callers to freely modify the currentItemStack
contained in it's inventory.A view of a fixed inventory for items, where the size of the inventory never changes, and every slot is "simple": The amount of every slot will never exceed 64, the normal maximum stack size of minecraft. The stack will stay in the slot until it is removed or changed by something else.A modifiable version ofGroupedItemInvView
, except that all modification methods are provided byItemExtractable
andItemInsertable
.An alternative way of storing large numbers ofItemStack
, without using large numbers of slots in aFixedItemInvView
.Statistics associated with a singleItemFilter
in a given inventory.Defines an object that can have items extracted from it.Defines an object that can have items inserted into it.A simple listener for anItemInvAmountChangeListener
that wraps anInvMarkDirtyListener
.ListenerFunctionalInterface
forFixedItemInvView
.A specialised type of listener that won't receive the previousItemStack
that occupied the given slot.Various hooks and methods for dealing with pairs ofFixedItemInv
,FixedItemInvView
,ItemInsertable
,ItemExtractable
, andGroupedItemInvView
instances.A pair of ints, representing both the total number of stacks and the total number of items moved byItemInvUtil.moveMultiple(ItemExtractable, ItemInsertable, ItemFilter, int, int)
.Combined interface forItemInsertable
andItemExtractable
.A type ofFixedItemInv
that wraps an existingFixedItemInv
and provides custom control over the actual modification of the wrappedFixedItemInv
.A rule for a set of slots.A rule that is applied once for everyItemStack
that matches theItemFilter
that was used inLimitedGroupedItemInv.getRule(ItemFilter)
.A delegating accessor of a single slot in aFixedItemInv
.A delegating view of a single slot in aFixedItemInvView
.