Package alexiil.mc.lib.attributes.item.impl
package alexiil.mc.lib.attributes.item.impl
-
ClassDescriptionBase class for
SubFixedItemInvView
andMappedFixedItemInvView
.CombinedFixedItemInv<InvType extends FixedItemInv>AnFixedItemInv
that delegates to a list of them instead of storing items directly.CombinedFixedItemInv.OfCopying<InvType extends FixedItemInv.CopyingFixedItemInv>CombinedFixedItemInv.OfModifiable<InvType extends FixedItemInv.ModifiableFixedItemInv>CombinedFixedItemInvView<InvType extends FixedItemInvView>AnFixedItemInvView
that delegates to a list of them instead of storing items directly.A combined version of multipleGroupedItemInvView
's.A simple delegate base class forFixedItemInv
.A simple implementation ofFixedItemInv.ModifiableFixedItemInv
that supports all of the features that the interface exposes.AnItemInsertable
that delegates to anotherItemInsertable
, but has an additional filter as to what can be inserted.A simple, extendible, fixed size item inventory that supports all of the features thatFixedItemInv.CopyingFixedItemInv
exposes.AGroupedItemInv
wrapper over aFixedItemInv
.AGroupedItemInvView
that wraps aFixedItemInvView
.A tracker object that tries to ensure that the "no modification" rule that methods likeFixedItemInv.getInvStack(int)
use is followed.Default implementation forFixedItemInvView.getMappedInv(int...)
.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.UseGroupedItemInvFixedWrapper
instead of this!Deprecated, for removal: This API element is subject to removal in a future version.UseGroupedItemInvFixedWrapper
instead.A simpleGroupedItemInv
that has a limit on both the number of different items that this can store, and the total number of items that can be stored.A simple implementation ofLimitedFixedItemInv
that makes no assumptions about the backingFixedItemInv
.Default implementation forFixedItemInvView.getSubInv(int, int)
. -
Enum ClassDescriptionAn
FixedItemInv
with no slots.GroupedItemInvView
for an empty inventory.AnItemExtractable
that never returns any items fromEmptyItemExtractable.attemptExtraction(ItemFilter, int, Simulation)
.AnItemTransferable
that never returns any items fromEmptyItemTransferable.attemptExtraction(ItemFilter, int, Simulation)
, nor accepts any items inEmptyItemTransferable.attemptInsertion(ItemStack, Simulation)
.AnItemInsertable
that always refuses to accept any insertedItemStack
.
DirectFixedItemInv
orFullFixedItemInv
instead of this!