Uses of Interface
alexiil.mc.lib.attributes.item.ItemExtractable
Package | Description |
---|---|
alexiil.mc.lib.attributes.item | |
alexiil.mc.lib.attributes.item.entity | |
alexiil.mc.lib.attributes.item.impl |
-
Uses of ItemExtractable in alexiil.mc.lib.attributes.item
Subinterfaces of ItemExtractable in alexiil.mc.lib.attributes.item Modifier and Type Interface Description interface
GroupedItemInv
A modifiable version ofGroupedItemInvView
, except that all modification methods are provided byItemExtractable
andItemInsertable
.interface
ItemTransferable
Combined interface forItemInsertable
andItemExtractable
.interface
LimitedGroupedItemInv
Classes in alexiil.mc.lib.attributes.item that implement ItemExtractable Modifier and Type Class Description class
SingleCopyingItemSlot
class
SingleItemSlot
A delegating accessor of a single slot in aFixedItemInv
.Fields in alexiil.mc.lib.attributes.item with type parameters of type ItemExtractable Modifier and Type Field Description static CombinableAttribute<ItemExtractable>
ItemAttributes. EXTRACTABLE
Methods in alexiil.mc.lib.attributes.item that return ItemExtractable Modifier and Type Method Description default ItemExtractable
ItemExtractable. filtered(ItemFilter filter)
default ItemExtractable
FixedItemInv. getExtractable()
default ItemExtractable
ItemExtractable. getPureExtractable()
Methods in alexiil.mc.lib.attributes.item with parameters of type ItemExtractable Modifier and Type Method Description static 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
Classes in alexiil.mc.lib.attributes.item.entity that implement ItemExtractable Modifier and Type Class Description class
ItemExtractableProjectileEntity
class
ItemTransferableItemEntity
Methods in alexiil.mc.lib.attributes.item.entity that return ItemExtractable Modifier and Type Method Description static ItemExtractable
ItemEntityAttributeUtil. getSpecialExtractable(net.minecraft.entity.Entity entity)
-
Uses of ItemExtractable in alexiil.mc.lib.attributes.item.impl
Methods in alexiil.mc.lib.attributes.item.impl that return ItemExtractable Modifier and Type Method Description ItemExtractable
FilteredItemExtractable. filtered(ItemFilter filter)
ItemExtractable
EmptyFixedItemInv. getExtractable()
ItemExtractable
EmptyGroupedItemInv. getPureExtractable()
ItemExtractable
EmptyItemExtractable. getPureExtractable()
ItemExtractable
EmptyItemTransferable. getPureExtractable()
Constructors in alexiil.mc.lib.attributes.item.impl with parameters of type ItemExtractable Constructor Description FilteredItemExtractable(ItemExtractable real, ItemFilter filter)
Constructor parameters in alexiil.mc.lib.attributes.item.impl with type arguments of type ItemExtractable Constructor Description CombinedItemExtractable(java.util.List<? extends ItemExtractable> list)