Package alexiil.mc.lib.attributes.item
package alexiil.mc.lib.attributes.item
-
ClassDescriptionBase interface for
FixedItemInvViewandGroupedItemInvView.AFixedItemInvViewthat can have it's contents changed.The "complex" variant ofFixedItemInvthat always returns copies of the stack held.The "simpler" variant ofFixedItemInvwhich allows callers to freely modify the currentItemStackcontained 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 byItemExtractableandItemInsertable.An alternative way of storing large numbers ofItemStack, without using large numbers of slots in aFixedItemInvView.Statistics associated with a singleItemFilterin 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 anItemInvAmountChangeListenerthat wraps anInvMarkDirtyListener.ListenerFunctionalInterfaceforFixedItemInvView.A specialised type of listener that won't receive the previousItemStackthat occupied the given slot.Various hooks and methods for dealing with pairs ofFixedItemInv,FixedItemInvView,ItemInsertable,ItemExtractable, andGroupedItemInvViewinstances.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 forItemInsertableandItemExtractable.A type ofFixedItemInvthat wraps an existingFixedItemInvand provides custom control over the actual modification of the wrappedFixedItemInv.A rule for a set of slots.A rule that is applied once for everyItemStackthat matches theItemFilterthat was used inLimitedGroupedItemInv.getRule(ItemFilter).A delegating accessor of a single slot in aFixedItemInv.A delegating view of a single slot in aFixedItemInvView.