Package alexiil.mc.lib.attributes.item
package alexiil.mc.lib.attributes.item
-
InterfaceDescriptionBase 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
.Defines an object that can have items extracted from it.Defines an object that can have items inserted into it.ListenerFunctionalInterface
forFixedItemInvView
.A specialised type of listener that won't receive the previousItemStack
that occupied the given slot.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)
. -
ClassDescriptionStatistics associated with a single
ItemFilter
in a given inventory.A simple listener for anItemInvAmountChangeListener
that wraps anInvMarkDirtyListener
.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)
.A delegating accessor of a single slot in aFixedItemInv
.A delegating view of a single slot in aFixedItemInvView
. -
Enum ClassDescription