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.OfModifiableNested classes/interfaces inherited from interface alexiil.mc.lib.attributes.item.AbstractItemInvView
AbstractItemInvView.DefaultChangeTrackerNested 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 voidmarkDirty()Informs this inventory that theItemStackreturned byFixedItemInv.ModifiableFixedItemInv.getInvStack(int)has been changed.Methods inherited from class alexiil.mc.lib.attributes.item.impl.SubFixedItemInv
create, getMappedInv, getSubInv, setInvStackMethods inherited from class alexiil.mc.lib.attributes.item.impl.SubFixedItemInvView
getFixedView, getInternalSlot, getSlotCountMethods inherited from class alexiil.mc.lib.attributes.item.impl.AbstractPartialFixedItemInvView
addListener, getChangeValue, getFilterForSlot, getInvStack, getMaxAmount, isItemValidForSlotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface alexiil.mc.lib.attributes.item.AbstractItemInvView
addListener, getChangeValueMethods inherited from interface alexiil.mc.lib.attributes.item.FixedItemInv
createLimitedFixedInv, extractStack, forceSetInvStack, getExtractable, getGroupedInv, getInsertable, getMappedInv, getSlot, getSubInv, getTransferable, insertStack, modifySlot, slotIterableMethods inherited from interface alexiil.mc.lib.attributes.item.FixedItemInv.ModifiableFixedItemInv
getFilterForSlot, getInvStack, isItemValidForSlot, setInvStackMethods 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.ModifiableFixedItemInvInforms this inventory that theItemStackreturned byFixedItemInv.ModifiableFixedItemInv.getInvStack(int)has been changed.- Specified by:
markDirtyin interfaceFixedItemInv.ModifiableFixedItemInv
-