Class SubFixedItemInv.OfModifiable
java.lang.Object
alexiil.mc.lib.attributes.item.impl.AbstractPartialFixedItemInvView
alexiil.mc.lib.attributes.item.impl.SubFixedItemInvView
alexiil.mc.lib.attributes.item.impl.SubFixedItemInv
alexiil.mc.lib.attributes.item.impl.SubFixedItemInv.OfModifiable
- All Implemented Interfaces:
Convertible
,AbstractItemInvView
,FixedItemInv
,FixedItemInv.ModifiableFixedItemInv
,FixedItemInvView
- Enclosing class:
- SubFixedItemInv
public static class SubFixedItemInv.OfModifiable extends SubFixedItemInv implements FixedItemInv.ModifiableFixedItemInv
-
Nested Class Summary
Nested classes/interfaces inherited from class alexiil.mc.lib.attributes.item.impl.SubFixedItemInv
SubFixedItemInv.OfCopying, SubFixedItemInv.OfModifiable
Nested classes/interfaces inherited from interface alexiil.mc.lib.attributes.item.AbstractItemInvView
AbstractItemInvView.DefaultChangeTracker
Nested classes/interfaces inherited from interface alexiil.mc.lib.attributes.item.FixedItemInv
FixedItemInv.CopyingFixedItemInv, FixedItemInv.ModifiableFixedItemInv
-
Field Summary
Fields inherited from class alexiil.mc.lib.attributes.item.impl.SubFixedItemInvView
fromIndex, toIndex
-
Constructor Summary
Constructors Constructor Description OfModifiable(FixedItemInv.ModifiableFixedItemInv inv, int fromIndex, int toIndex)
-
Method Summary
Modifier and Type Method Description void
markDirty()
Informs this inventory that theItemStack
returned byFixedItemInv.ModifiableFixedItemInv.getInvStack(int)
has been changed.Methods inherited from class alexiil.mc.lib.attributes.item.impl.SubFixedItemInv
create, getMappedInv, getSubInv, setInvStack
Methods inherited from class alexiil.mc.lib.attributes.item.impl.SubFixedItemInvView
getFixedView, getInternalSlot, getSlotCount
Methods inherited from class alexiil.mc.lib.attributes.item.impl.AbstractPartialFixedItemInvView
addListener, getChangeValue, getFilterForSlot, getInvStack, getMaxAmount, isItemValidForSlot
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface alexiil.mc.lib.attributes.item.AbstractItemInvView
addListener, getChangeValue
Methods inherited from interface alexiil.mc.lib.attributes.item.FixedItemInv
createLimitedFixedInv, extractStack, forceSetInvStack, getExtractable, getGroupedInv, getInsertable, getMappedInv, getSlot, getSubInv, getTransferable, insertStack, modifySlot, slotIterable
Methods inherited from interface alexiil.mc.lib.attributes.item.FixedItemInv.ModifiableFixedItemInv
getFilterForSlot, getInvStack, isItemValidForSlot, setInvStack
Methods inherited from interface alexiil.mc.lib.attributes.item.FixedItemInvView
convertTo, getFixedView, getMaxAmount, getSlotCount, offerSelfAsAttribute, stackIterable
-
Constructor Details
-
Method Details
-
markDirty
public void markDirty()Description copied from interface:FixedItemInv.ModifiableFixedItemInv
Informs this inventory that theItemStack
returned byFixedItemInv.ModifiableFixedItemInv.getInvStack(int)
has been changed.- Specified by:
markDirty
in interfaceFixedItemInv.ModifiableFixedItemInv
-