Uses of Interface
alexiil.mc.lib.attributes.item.ItemInsertable
Package
Description
-
Uses of ItemInsertable 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 final CombinableAttribute<ItemInsertable>
ItemAttributes.INSERTABLE
Modifier and TypeMethodDescriptiondefault ItemInsertable
ItemInsertable.filtered
(ItemFilter filter) default ItemInsertable
FixedItemInv.getInsertable()
default ItemInsertable
ItemInsertable.getPureInsertable()
Modifier and TypeMethodDescriptionstatic ItemTransferable
ItemTransferable.from
(ItemInsertable insertable) 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 ItemInsertable in alexiil.mc.lib.attributes.item.entity
Modifier and TypeMethodDescriptionstatic ItemInsertable
ItemEntityAttributeUtil.createItemEntityDropper
(net.minecraft.world.World world, double x, double y, double z) static ItemInsertable
ItemEntityAttributeUtil.createItemEntityDropper
(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos) static ItemInsertable
ItemEntityAttributeUtil.createItemEntityDropper
(net.minecraft.world.World world, net.minecraft.util.math.Vec3d vec) static ItemInsertable
ItemEntityAttributeUtil.createItemEntityScatterer
(net.minecraft.world.World world, double x, double y, double z) static ItemInsertable
ItemEntityAttributeUtil.createItemEntityScatterer
(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos) static ItemInsertable
ItemEntityAttributeUtil.createItemEntityScatterer
(net.minecraft.world.World world, net.minecraft.util.math.Vec3d vec) -
Uses of ItemInsertable in alexiil.mc.lib.attributes.item.filter
-
Uses of ItemInsertable in alexiil.mc.lib.attributes.item.impl
Modifier and TypeClassDescriptionclass
final class
class
class
A simple implementation ofFixedItemInv.ModifiableFixedItemInv
that supports all of the features that the interface exposes.enum
GroupedItemInvView
for an empty inventory.enum
AnItemTransferable
that never returns any items fromEmptyItemTransferable.attemptExtraction(ItemFilter, int, Simulation)
, nor accepts any items inEmptyItemTransferable.attemptInsertion(ItemStack, Simulation)
.final class
AnItemInsertable
that delegates to anotherItemInsertable
, but has an additional filter as to what can be inserted.final class
class
A simple, extendible, fixed size item inventory that supports all of the features thatFixedItemInv.CopyingFixedItemInv
exposes.class
AGroupedItemInv
wrapper over aFixedItemInv
.enum
AnItemInsertable
that always refuses to accept any insertedItemStack
.class
Deprecated, for removal: This API element is subject to removal in a future version.final class
Deprecated, for removal: This API element is subject to removal in a future version.UseGroupedItemInvFixedWrapper
instead.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 TypeMethodDescriptionFilteredItemInsertable.filtered
(ItemFilter filter) EmptyFixedItemInv.getInsertable()
EmptyGroupedItemInv.getPureInsertable()
EmptyItemTransferable.getPureInsertable()
RejectingItemInsertable.getPureInsertable()
DirectFixedItemInv
orFullFixedItemInv
instead of this!