Uses of Interface
alexiil.mc.lib.attributes.item.FixedItemInv
Package | Description |
---|---|
alexiil.mc.lib.attributes.item |
The base package for
item management attributes . |
alexiil.mc.lib.attributes.item.compat | |
alexiil.mc.lib.attributes.item.compat.mod.emi.iteminv | |
alexiil.mc.lib.attributes.item.impl |
-
Uses of FixedItemInv in alexiil.mc.lib.attributes.item
Subinterfaces of FixedItemInv in alexiil.mc.lib.attributes.item Modifier and Type Interface Description static interface
FixedItemInv.CopyingFixedItemInv
The "complex" variant ofFixedItemInv
that always returns copies of the stack held.static interface
FixedItemInv.ModifiableFixedItemInv
The "simpler" variant ofFixedItemInv
which allows callers to freely modify the currentItemStack
contained in it's inventory.interface
LimitedFixedItemInv
A type ofFixedItemInv
that wraps an existingFixedItemInv
and provides custom control over the actual modification of the wrappedFixedItemInv
.Fields in alexiil.mc.lib.attributes.item with type parameters of type FixedItemInv Modifier and Type Field Description static CombinableAttribute<FixedItemInv>
ItemAttributes. FIXED_INV
Methods in alexiil.mc.lib.attributes.item that return FixedItemInv Modifier and Type Method Description default FixedItemInv
LimitedFixedItemInv. asUnmodifiable()
FixedItemInv
SingleItemSlot. getBackingInv()
default FixedItemInv
FixedItemInv. getMappedInv(int... slots)
default FixedItemInv
FixedItemInv. getSubInv(int fromIndex, int toIndex)
Methods in alexiil.mc.lib.attributes.item with parameters of type FixedItemInv Modifier and Type Method Description static net.minecraft.item.ItemStack
ItemInvUtil. extractSingle(FixedItemInv inv, int slot, ItemFilter filter, net.minecraft.item.ItemStack toAddWith, int maxAmount, Simulation simulation)
Deprecated.Because this has been moved toextractStack(int, ItemFilter, ItemStack, int, Simulation)
.static net.minecraft.item.ItemStack
ItemInvUtil. insertSingle(FixedItemInv inv, int slot, net.minecraft.item.ItemStack toInsert, Simulation simulation)
Deprecated.Because this has been moved toinsertStack(int, ItemStack, Simulation)
. -
Uses of FixedItemInv in alexiil.mc.lib.attributes.item.compat
Classes in alexiil.mc.lib.attributes.item.compat that implement FixedItemInv Modifier and Type Class Description class
FixedInventoryVanillaWrapper
AnFixedItemInv
that wraps a vanillaInventory
.class
FixedSidedInventoryVanillaWrapper
Fields in alexiil.mc.lib.attributes.item.compat declared as FixedItemInv Modifier and Type Field Description protected FixedItemInv
InventoryFixedWrapper. inv
FixedItemInv
SlotFixedItemInv. inv
Methods in alexiil.mc.lib.attributes.item.compat that return FixedItemInv Modifier and Type Method Description static FixedItemInv
FixedSidedInventoryVanillaWrapper. create(net.minecraft.inventory.SidedInventory inventory, net.minecraft.util.math.Direction side)
Constructors in alexiil.mc.lib.attributes.item.compat with parameters of type FixedItemInv Constructor Description InventoryFixedWrapper(FixedItemInv inv)
SidedInventoryFixedWrapper(FixedItemInv inv)
Creates aSidedInventoryFixedWrapper
with all of it's slots exposed in every direction.SidedInventoryFixedWrapper(FixedItemInv inv, int[][] slotMap)
SlotFixedItemInv(net.minecraft.screen.ScreenHandler container, FixedItemInv inv, boolean server, int slotIndex, int x, int y)
-
Uses of FixedItemInv in alexiil.mc.lib.attributes.item.compat.mod.emi.iteminv
Classes in alexiil.mc.lib.attributes.item.compat.mod.emi.iteminv that implement FixedItemInv Modifier and Type Class Description class
FixedInvEmiItemInv
AFixedItemInv
which wraps emi'sItemInventory
. -
Uses of FixedItemInv in alexiil.mc.lib.attributes.item.impl
Classes in alexiil.mc.lib.attributes.item.impl with type parameters of type FixedItemInv Modifier and Type Class Description class
CombinedFixedItemInv<InvType extends FixedItemInv>
AnFixedItemInv
that delegates to a list of them instead of storing items directly.Fields in alexiil.mc.lib.attributes.item.impl declared as FixedItemInv Modifier and Type Field Description protected FixedItemInv
DelegatingFixedItemInv. delegate
Methods in alexiil.mc.lib.attributes.item.impl that return FixedItemInv Modifier and Type Method Description static FixedItemInv
CombinedFixedItemInv. create(java.util.List<? extends FixedItemInv> list)
FixedItemInv
CombinedFixedItemInv. getMappedInv(int... slots)
FixedItemInv
MappedFixedItemInv. getMappedInv(int... slots)
FixedItemInv
SubFixedItemInv. getMappedInv(int... slots)
FixedItemInv
CombinedFixedItemInv. getSubInv(int fromIndex, int toIndex)
FixedItemInv
MappedFixedItemInv. getSubInv(int fromIndex, int toIndex)
FixedItemInv
SubFixedItemInv. getSubInv(int fIndex, int tIndex)
Methods in alexiil.mc.lib.attributes.item.impl with parameters of type FixedItemInv Modifier and Type Method Description static MappedFixedItemInv
MappedFixedItemInv. create(FixedItemInv inv, int[] slots)
static SubFixedItemInv
SubFixedItemInv. create(FixedItemInv inv, int fromIndex, int toIndex)
static DelegatingFixedItemInv
DelegatingFixedItemInv. createDelegate(FixedItemInv inv)
static SimpleLimitedFixedItemInv
SimpleLimitedFixedItemInv. createLimited(FixedItemInv inv)
Method parameters in alexiil.mc.lib.attributes.item.impl with type arguments of type FixedItemInv Modifier and Type Method Description static FixedItemInv
CombinedFixedItemInv. create(java.util.List<? extends FixedItemInv> list)
Constructors in alexiil.mc.lib.attributes.item.impl with parameters of type FixedItemInv Constructor Description DelegatingFixedItemInv(FixedItemInv delegate)
GroupedItemInvFixedWrapper(FixedItemInv inv)
MappedFixedItemInv(FixedItemInv inv, int[] slots)
SimpleFixedItemInvExtractable(FixedItemInv inv)
Deprecated.SimpleFixedItemInvInsertable(FixedItemInv inv)
Deprecated.SimpleLimitedFixedItemInv(FixedItemInv delegate)
SubFixedItemInv(FixedItemInv inv, int fromIndex, int toIndex)