Uses of Interface
alexiil.mc.lib.attributes.item.ItemInsertable
Package | Description |
---|---|
alexiil.mc.lib.attributes.item | |
alexiil.mc.lib.attributes.item.entity | |
alexiil.mc.lib.attributes.item.filter | |
alexiil.mc.lib.attributes.item.impl |
-
Uses of ItemInsertable in alexiil.mc.lib.attributes.item
Subinterfaces of ItemInsertable 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 ItemInsertable 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 ItemInsertable Modifier and Type Field Description static CombinableAttribute<ItemInsertable>
ItemAttributes. INSERTABLE
Methods in alexiil.mc.lib.attributes.item that return ItemInsertable Modifier and Type Method Description default ItemInsertable
ItemInsertable. filtered(ItemFilter filter)
default ItemInsertable
FixedItemInv. getInsertable()
default ItemInsertable
ItemInsertable. getPureInsertable()
Methods in alexiil.mc.lib.attributes.item with parameters of type ItemInsertable Modifier and Type Method Description static 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 ItemInsertable Modifier and Type Class Description class
ItemTransferableItemEntity
Methods in alexiil.mc.lib.attributes.item.entity that return ItemInsertable Modifier and Type Method Description static 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 ItemInsertable Modifier and Type Field Description ItemInsertable
ItemInsertableFilter. insertable
Constructors in alexiil.mc.lib.attributes.item.filter with parameters of type ItemInsertable Constructor Description ItemInsertableFilter(ItemInsertable insertable)
-
Uses of ItemInsertable in alexiil.mc.lib.attributes.item.impl
Classes in alexiil.mc.lib.attributes.item.impl that implement ItemInsertable Modifier and Type Class Description class
CombinedGroupedItemInv
class
CombinedItemInsertable
class
DelegatingGroupedItemInv
class
DirectFixedItemInv
A simple implementation ofFixedItemInv.ModifiableFixedItemInv
that supports all of the features that the interface exposes.class
EmptyGroupedItemInv
GroupedItemInvView
for an empty inventory.class
EmptyItemTransferable
AnItemTransferable
that never returns any items fromEmptyItemTransferable.attemptExtraction(ItemFilter, int, Simulation)
, nor accepts any items inEmptyItemTransferable.attemptInsertion(ItemStack, Simulation)
.class
FilteredItemInsertable
AnItemInsertable
that delegates to anotherItemInsertable
, but has an additional filter as to what can be inserted.class
FilteredItemTransferable
class
FullFixedItemInv
A simple, extendible, fixed size item inventory that supports all of the features thatFixedItemInv.CopyingFixedItemInv
exposes.class
GroupedItemInvFixedWrapper
AGroupedItemInv
wrapper over aFixedItemInv
.class
RejectingItemInsertable
AnItemInsertable
that always refuses to accept any insertedItemStack
.class
SimpleFixedItemInv
Deprecated.You should use eitherDirectFixedItemInv
orFullFixedItemInv
instead of this!class
SimpleFixedItemInvInsertable
Deprecated.UseGroupedItemInvFixedWrapper
instead.class
SimpleGroupedItemInv
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
SimpleLimitedGroupedItemInv
Methods in alexiil.mc.lib.attributes.item.impl that return ItemInsertable Modifier and Type Method Description ItemInsertable
FilteredItemInsertable. filtered(ItemFilter filter)
ItemInsertable
EmptyFixedItemInv. getInsertable()
ItemInsertable
EmptyGroupedItemInv. getPureInsertable()
ItemInsertable
EmptyItemTransferable. getPureInsertable()
ItemInsertable
RejectingItemInsertable. getPureInsertable()
Constructors in alexiil.mc.lib.attributes.item.impl with parameters of type ItemInsertable Constructor Description FilteredItemInsertable(ItemInsertable real, ItemFilter filter)
Constructor parameters in alexiil.mc.lib.attributes.item.impl with type arguments of type ItemInsertable Constructor Description CombinedItemInsertable(java.util.List<? extends ItemInsertable> list)