Uses of Interface
alexiil.mc.lib.attributes.item.ItemExtractable
Package
Description
-
Uses of ItemExtractable in alexiil.mc.lib.attributes.item
Modifier and TypeInterfaceDescriptioninterface
A modifiable version ofGroupedItemInvView
, except that all modification methods are provided byItemExtractable
andItemInsertable
.interface
Combined interface forItemInsertable
andItemExtractable
.interface
Modifier and TypeClassDescriptionclass
class
A delegating accessor of a single slot in aFixedItemInv
.Modifier and TypeFieldDescriptionstatic CombinableAttribute<ItemExtractable>
ItemAttributes.EXTRACTABLE
Modifier and TypeMethodDescriptiondefault ItemExtractable
ItemExtractable.filtered(ItemFilter filter)
default ItemExtractable
FixedItemInv.getExtractable()
default ItemExtractable
ItemExtractable.getPureExtractable()
Modifier and TypeMethodDescriptionstatic ItemTransferable
ItemTransferable.from(ItemExtractable extractable)
static ItemTransferable
ItemTransferable.from(ItemInsertable insertable, ItemExtractable extractable)
static int
ItemInvUtil.move(ItemExtractable from, ItemInsertable to, int maximum)
Attempts to move up to the given maximum number of items from theItemExtractable
to theItemInsertable
.static int
ItemInvUtil.move(ItemExtractable from, ItemInsertable to, ItemFilter filter, int maximum)
Attempts to move up to the given maximum number of items from theItemExtractable
to theItemInsertable
, provided they match the givenItemFilter
.static int
ItemInvUtil.move(ItemExtractable from, ItemInsertable to, ItemFilter filter, int maximum, Simulation simulation)
Attempts to move up to the given maximum number of items from theItemExtractable
to theItemInsertable
, provided they match the givenItemFilter
.static ItemInvUtil.MultiMoveResult
ItemInvUtil.moveMultiple(ItemExtractable from, ItemInsertable to)
Attempts to move as much as possible from theItemExtractable
to theItemInsertable
.static ItemInvUtil.MultiMoveResult
ItemInvUtil.moveMultiple(ItemExtractable from, ItemInsertable to, int maxStacks, int maxTotal)
Attempts to move a given number of stacks from theItemExtractable
to theItemInsertable
.static ItemInvUtil.MultiMoveResult
ItemInvUtil.moveMultiple(ItemExtractable from, ItemInsertable to, ItemFilter filter, int maxStacks, int maxTotal)
Attempts to move a given number of stacks from theItemExtractable
to theItemInsertable
. -
Uses of ItemExtractable in alexiil.mc.lib.attributes.item.entity
Modifier and TypeClassDescriptionclass
class
Modifier and TypeMethodDescriptionstatic ItemExtractable
ItemEntityAttributeUtil.getSpecialExtractable(net.minecraft.entity.Entity entity)
-
Uses of ItemExtractable in alexiil.mc.lib.attributes.item.impl
Modifier and TypeClassDescriptionclass
class
class
class
A simple implementation ofFixedItemInv.ModifiableFixedItemInv
that supports all of the features that the interface exposes.class
GroupedItemInvView
for an empty inventory.class
AnItemExtractable
that never returns any items fromEmptyItemExtractable.attemptExtraction(ItemFilter, int, Simulation)
.class
AnItemTransferable
that never returns any items fromEmptyItemTransferable.attemptExtraction(ItemFilter, int, Simulation)
, nor accepts any items inEmptyItemTransferable.attemptInsertion(ItemStack, Simulation)
.class
class
class
A simple, extendible, fixed size item inventory that supports all of the features thatFixedItemInv.CopyingFixedItemInv
exposes.class
AGroupedItemInv
wrapper over aFixedItemInv
.class
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.UseGroupedItemInvFixedWrapper
instead of this!class
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.class
Modifier and TypeMethodDescriptionFilteredItemExtractable.filtered(ItemFilter filter)
EmptyFixedItemInv.getExtractable()
EmptyGroupedItemInv.getPureExtractable()
EmptyItemExtractable.getPureExtractable()
EmptyItemTransferable.getPureExtractable()
DirectFixedItemInv
orFullFixedItemInv
instead of this!