Uses of Interface
alexiil.mc.lib.attributes.item.FixedItemInvView
Packages that use FixedItemInvView
Package
Description
-
Uses of FixedItemInvView in alexiil.mc.lib.attributes.item
Subinterfaces of FixedItemInvView in alexiil.mc.lib.attributes.itemModifier 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
.Fields in alexiil.mc.lib.attributes.item with type parameters of type FixedItemInvViewModifier and TypeFieldDescriptionstatic CombinableAttribute<FixedItemInvView>
ItemAttributes.FIXED_INV_VIEW
Methods in alexiil.mc.lib.attributes.item that return FixedItemInvViewModifier 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)
.Methods in alexiil.mc.lib.attributes.item with parameters of type FixedItemInvViewModifier 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
Classes in alexiil.mc.lib.attributes.item.compat that implement FixedItemInvViewModifier and TypeClassDescriptionclass
AnFixedItemInv
that wraps a vanillaInventory
.class
AnFixedItemInv
that wraps a vanillaInventory
.class
-
Uses of FixedItemInvView in alexiil.mc.lib.attributes.item.impl
Classes in alexiil.mc.lib.attributes.item.impl with type parameters of type FixedItemInvViewModifier and TypeClassDescriptionclass
CombinedFixedItemInvView<InvType extends FixedItemInvView>
AnFixedItemInvView
that delegates to a list of them instead of storing items directly.Classes in alexiil.mc.lib.attributes.item.impl that implement FixedItemInvViewModifier 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.class
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)
.Fields in alexiil.mc.lib.attributes.item.impl declared as FixedItemInvViewModifier and TypeFieldDescriptionprotected FixedItemInvView
AbstractPartialFixedItemInvView.inv
The inventory that is wrapped.Methods in alexiil.mc.lib.attributes.item.impl that return FixedItemInvViewModifier 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)
Methods in alexiil.mc.lib.attributes.item.impl with parameters of type FixedItemInvViewModifier and TypeMethodDescriptionstatic MappedFixedItemInvView
MappedFixedItemInvView.createView(FixedItemInvView inv, int[] slots)
Method parameters in alexiil.mc.lib.attributes.item.impl with type arguments of type FixedItemInvViewModifier and TypeMethodDescriptionstatic FixedItemInvView
CombinedFixedItemInvView.createView(List<? extends FixedItemInvView> list)
Constructors in alexiil.mc.lib.attributes.item.impl with parameters of type FixedItemInvViewModifierConstructorDescriptionprotected
MappedFixedItemInvView(FixedItemInvView inv, int[] slots)
SubFixedItemInvView(FixedItemInvView inv, int fromIndex, int toIndex)
DirectFixedItemInv
orFullFixedItemInv
instead of this!