Package alexiil.mc.lib.attributes.item
-
Interface Summary Interface Description AbstractItemInvView Base interface forFixedItemInvViewandGroupedItemInvView.FixedItemInv AFixedItemInvViewthat can have it's contents changed.FixedItemInv.CopyingFixedItemInv The "complex" variant ofFixedItemInvthat always returns copies of the stack held.FixedItemInv.ModifiableFixedItemInv The "simpler" variant ofFixedItemInvwhich allows callers to freely modify the currentItemStackcontained in it's inventory.FixedItemInvView 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.GroupedItemInv A modifiable version ofGroupedItemInvView, except that all modification methods are provided byItemExtractableandItemInsertable.GroupedItemInvView An alternative way of storing large numbers ofItemStack, without using large numbers of slots in aFixedItemInvView.InvMarkDirtyListener ListenerFunctionalInterfaceforAbstractItemInvView.addListener(InvMarkDirtyListener, alexiil.mc.lib.attributes.ListenerRemovalToken).ItemExtractable Defines an object that can have items extracted from it.ItemInsertable Defines an object that can have items inserted into it.ItemInvAmountChangeListener ItemInvSlotChangeListener ListenerFunctionalInterfaceforFixedItemInvView.ItemInvSlotChangeListener.ItemInvSlotListener A specialised type of listener that won't receive the previousItemStackthat occupied the given slot.ItemTransferable Combined interface forItemInsertableandItemExtractable.LimitedFixedItemInv A type ofFixedItemInvthat wraps an existingFixedItemInvand provides custom control over the actual modification of the wrappedFixedItemInv.LimitedFixedItemInv.ItemSlotLimitRule A rule for a set of slots.LimitedGroupedItemInv LimitedGroupedItemInv.ItemLimitRule A rule that is applied once for everyItemStackthat matches theItemFilterthat was used inLimitedGroupedItemInv.getRule(ItemFilter). -
Class Summary Class Description AbstractItemInvView.DefaultChangeTracker GroupedItemInvView.ItemInvStatistic Statistics associated with a singleItemFilterin a given inventory.ItemAttributes ItemInvAmountChangeListener.MarkDirtyWrapper A simple listener for anItemInvAmountChangeListenerthat wraps anInvMarkDirtyListener.ItemInvUtil Various hooks and methods for dealing with pairs ofFixedItemInv,FixedItemInvView,ItemInsertable,ItemExtractable, andGroupedItemInvViewinstances.ItemInvUtil.MultiMoveResult 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).ItemStackUtil SingleCopyingItemSlot SingleItemSlot A delegating accessor of a single slot in aFixedItemInv.SingleItemSlotView A delegating view of a single slot in aFixedItemInvView. -
Enum Summary Enum Description ItemStackCollections Utility methods for creatingMap's andSet's based onItemStack's.