Uses of Interface
alexiil.mc.lib.attributes.item.FixedItemInvView
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 FixedItemInvView in alexiil.mc.lib.attributes.item
Subinterfaces of FixedItemInvView in alexiil.mc.lib.attributes.item Modifier and Type Interface Description interface
FixedItemInv
AFixedItemInvView
that can have it's contents changed.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 FixedItemInvView Modifier and Type Field Description static CombinableAttribute<FixedItemInvView>
ItemAttributes. FIXED_INV_VIEW
Methods in alexiil.mc.lib.attributes.item that return FixedItemInvView Modifier and Type Method Description FixedItemInvView
SingleItemSlotView. getBackingInv()
default FixedItemInvView
FixedItemInvView. getFixedView()
default FixedItemInvView
FixedItemInvView. getMappedInv(int... slots)
default FixedItemInvView
FixedItemInvView. getSubInv(int fromIndex, int toIndex)
Equivalent toList.subList(int, int)
.Methods in alexiil.mc.lib.attributes.item with parameters of type FixedItemInvView Modifier and Type Method Description static boolean
FixedItemInvView. areSlotArraysEqual(FixedItemInvView inv, int[] slots)
Used as a helper forgetMappedInv(int...)
, to see if it should return itself or not.static void
ItemInvUtil. copyAll(FixedItemInvView inv, java.util.List<net.minecraft.item.ItemStack> dest)
Copies everyItemStack
held in the given inventory to the givenList
.void
ItemInvSlotChangeListener.ItemInvSlotListener. onChange(FixedItemInvView inv, int slot)
default void
ItemInvSlotChangeListener.ItemInvSlotListener. onChange(FixedItemInvView inv, int slot, net.minecraft.item.ItemStack previous, net.minecraft.item.ItemStack current)
NOTE: This might not be called if the inventory callsItemInvSlotChangeListener.ItemInvSlotListener.onChange(FixedItemInvView, int)
directly!void
ItemInvSlotChangeListener. onChange(FixedItemInvView inv, int slot, net.minecraft.item.ItemStack previous, net.minecraft.item.ItemStack current)
-
Uses of FixedItemInvView in alexiil.mc.lib.attributes.item.compat
Classes in alexiil.mc.lib.attributes.item.compat that implement FixedItemInvView Modifier and Type Class Description class
FixedInventoryVanillaWrapper
AnFixedItemInv
that wraps a vanillaInventory
.class
FixedInventoryViewVanillaWrapper
AnFixedItemInv
that wraps a vanillaInventory
.class
FixedSidedInventoryVanillaWrapper
-
Uses of FixedItemInvView in alexiil.mc.lib.attributes.item.compat.mod.emi.iteminv
Classes in alexiil.mc.lib.attributes.item.compat.mod.emi.iteminv that implement FixedItemInvView Modifier and Type Class Description class
FixedInvEmiItemInv
AFixedItemInv
which wraps emi'sItemInventory
. -
Uses of FixedItemInvView in alexiil.mc.lib.attributes.item.impl
Classes in alexiil.mc.lib.attributes.item.impl with type parameters of type FixedItemInvView Modifier and Type Class Description class
CombinedFixedItemInvView<InvType extends FixedItemInvView>
AnFixedItemInvView
that delegates to a list of them instead of storing items directly.Fields in alexiil.mc.lib.attributes.item.impl declared as FixedItemInvView Modifier and Type Field Description protected FixedItemInvView
AbstractPartialFixedItemInvView. inv
The inventory that is wrapped.Methods in alexiil.mc.lib.attributes.item.impl that return FixedItemInvView Modifier and Type Method Description static FixedItemInvView
CombinedFixedItemInvView. createView(java.util.List<? extends FixedItemInvView> list)
FixedItemInvView
EmptyFixedItemInv. getFixedView()
FixedItemInvView
SubFixedItemInvView. getFixedView()
FixedItemInvView
CombinedFixedItemInvView. getMappedInv(int... slots)
FixedItemInvView
MappedFixedItemInvView. getMappedInv(int... slots)
FixedItemInvView
SubFixedItemInvView. getMappedInv(int... slots)
FixedItemInvView
CombinedFixedItemInvView. getSubInv(int fromIndex, int toIndex)
FixedItemInvView
MappedFixedItemInvView. getSubInv(int fromIndex, int toIndex)
FixedItemInvView
SubFixedItemInvView. getSubInv(int fIndex, int tIndex)
Methods in alexiil.mc.lib.attributes.item.impl with parameters of type FixedItemInvView Modifier and Type Method Description static MappedFixedItemInvView
MappedFixedItemInvView. createView(FixedItemInvView inv, int[] slots)
Method parameters in alexiil.mc.lib.attributes.item.impl with type arguments of type FixedItemInvView Modifier and Type Method Description static FixedItemInvView
CombinedFixedItemInvView. createView(java.util.List<? extends FixedItemInvView> list)
Constructors in alexiil.mc.lib.attributes.item.impl with parameters of type FixedItemInvView Constructor Description AbstractPartialFixedItemInvView(FixedItemInvView inv)
GroupedItemInvViewFixedWrapper(FixedItemInvView inv)
MappedFixedItemInvView(FixedItemInvView inv, int[] slots)
SubFixedItemInvView(FixedItemInvView inv, int fromIndex, int toIndex)