Uses of Interface
alexiil.mc.lib.attributes.item.ItemInsertable
Packages that use ItemInsertable
Package
Description
-
Uses of ItemInsertable in alexiil.mc.lib.attributes.item
Subinterfaces of ItemInsertable in alexiil.mc.lib.attributes.itemModifier and TypeInterfaceDescriptioninterface
A modifiable version ofGroupedItemInvView
, except that all modification methods are provided byItemExtractable
andItemInsertable
.interface
Combined interface forItemInsertable
andItemExtractable
.interface
Classes in alexiil.mc.lib.attributes.item that implement ItemInsertableModifier and TypeClassDescriptionclass
class
A delegating accessor of a single slot in aFixedItemInv
.Fields in alexiil.mc.lib.attributes.item with type parameters of type ItemInsertableModifier and TypeFieldDescriptionstatic final CombinableAttribute<ItemInsertable>
ItemAttributes.INSERTABLE
Methods in alexiil.mc.lib.attributes.item that return ItemInsertableModifier and TypeMethodDescriptiondefault ItemInsertable
ItemInsertable.filtered
(ItemFilter filter) default ItemInsertable
FixedItemInv.getInsertable()
default ItemInsertable
ItemInsertable.getPureInsertable()
Methods in alexiil.mc.lib.attributes.item with parameters of type ItemInsertableModifier 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
Classes in alexiil.mc.lib.attributes.item.entity that implement ItemInsertableMethods in alexiil.mc.lib.attributes.item.entity that return ItemInsertableModifier 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
Fields in alexiil.mc.lib.attributes.item.filter declared as ItemInsertableConstructors in alexiil.mc.lib.attributes.item.filter with parameters of type ItemInsertable -
Uses of ItemInsertable in alexiil.mc.lib.attributes.item.impl
Classes in alexiil.mc.lib.attributes.item.impl that implement ItemInsertableModifier 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
Methods in alexiil.mc.lib.attributes.item.impl that return ItemInsertableModifier and TypeMethodDescriptionFilteredItemInsertable.filtered
(ItemFilter filter) EmptyFixedItemInv.getInsertable()
EmptyGroupedItemInv.getPureInsertable()
EmptyItemTransferable.getPureInsertable()
RejectingItemInsertable.getPureInsertable()
Constructors in alexiil.mc.lib.attributes.item.impl with parameters of type ItemInsertableConstructor parameters in alexiil.mc.lib.attributes.item.impl with type arguments of type ItemInsertable
DirectFixedItemInv
orFullFixedItemInv
instead of this!