Uses of Interface
alexiil.mc.lib.attributes.item.FixedItemInvView
Package
Description
-
Uses of FixedItemInvView in alexiil.mc.lib.attributes.item
Modifier and TypeInterfaceDescriptioninterface
AFixedItemInvView
that can have it's contents changed.static interface
The "complex" variant ofFixedItemInv
that always returns copies of the stack held.static interface
The "simpler" variant ofFixedItemInv
which allows callers to freely modify the currentItemStack
contained in it's inventory.interface
A type ofFixedItemInv
that wraps an existingFixedItemInv
and provides custom control over the actual modification of the wrappedFixedItemInv
.Modifier and TypeFieldDescriptionstatic final CombinableAttribute<FixedItemInvView>
ItemAttributes.FIXED_INV_VIEW
Modifier and TypeMethodDescriptionSingleItemSlotView.getBackingInv()
default FixedItemInvView
FixedItemInvView.getFixedView()
default FixedItemInvView
FixedItemInvView.getMappedInv
(int... slots) default FixedItemInvView
FixedItemInvView.getSubInv
(int fromIndex, int toIndex) Equivalent toList.subList(int, int)
.Modifier and TypeMethodDescriptionstatic 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, 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
Modifier and TypeClassDescriptionclass
AnFixedItemInv
that wraps a vanillaInventory
.class
AnFixedItemInv
that wraps a vanillaInventory
.class
-
Uses of FixedItemInvView in alexiil.mc.lib.attributes.item.impl
Modifier and TypeClassDescriptionclass
CombinedFixedItemInvView<InvType extends FixedItemInvView>
AnFixedItemInvView
that delegates to a list of them instead of storing items directly.Modifier and TypeClassDescriptionclass
Base class forSubFixedItemInvView
andMappedFixedItemInvView
.class
CombinedFixedItemInv<InvType extends FixedItemInv>
AnFixedItemInv
that delegates to a list of them instead of storing items directly.static class
CombinedFixedItemInv.OfCopying<InvType extends FixedItemInv.CopyingFixedItemInv>
static class
CombinedFixedItemInv.OfModifiable<InvType extends FixedItemInv.ModifiableFixedItemInv>
class
CombinedFixedItemInvView<InvType extends FixedItemInvView>
AnFixedItemInvView
that delegates to a list of them instead of storing items directly.class
A simple delegate base class forFixedItemInv
.static class
static class
class
A simple implementation ofFixedItemInv.ModifiableFixedItemInv
that supports all of the features that the interface exposes.enum
AnFixedItemInv
with no slots.class
A simple, extendible, fixed size item inventory that supports all of the features thatFixedItemInv.CopyingFixedItemInv
exposes.class
static class
static class
class
Default implementation forgetMappedInv(int...)
.class
Deprecated, for removal: This API element is subject to removal in a future version.class
A simple implementation ofLimitedFixedItemInv
that makes no assumptions about the backingFixedItemInv
.static class
static class
class
static class
static class
class
Default implementation forgetSubInv(int, int)
.Modifier and TypeFieldDescriptionprotected final FixedItemInvView
AbstractPartialFixedItemInvView.inv
The inventory that is wrapped.Modifier and TypeMethodDescriptionstatic FixedItemInvView
CombinedFixedItemInvView.createView
(List<? extends FixedItemInvView> list) EmptyFixedItemInv.getFixedView()
SubFixedItemInvView.getFixedView()
CombinedFixedItemInvView.getMappedInv
(int... slots) MappedFixedItemInvView.getMappedInv
(int... slots) SubFixedItemInvView.getMappedInv
(int... slots) CombinedFixedItemInvView.getSubInv
(int fromIndex, int toIndex) MappedFixedItemInvView.getSubInv
(int fromIndex, int toIndex) SubFixedItemInvView.getSubInv
(int fIndex, int tIndex) Modifier and TypeMethodDescriptionstatic MappedFixedItemInvView
MappedFixedItemInvView.createView
(FixedItemInvView inv, int[] slots) Modifier and TypeMethodDescriptionstatic FixedItemInvView
CombinedFixedItemInvView.createView
(List<? extends FixedItemInvView> list) ModifierConstructorDescriptionprotected
MappedFixedItemInvView
(FixedItemInvView inv, int[] slots) SubFixedItemInvView
(FixedItemInvView inv, int fromIndex, int toIndex)
DirectFixedItemInv
orFullFixedItemInv
instead of this!