Class MappedFixedItemInv.OfModifiable
java.lang.Object
alexiil.mc.lib.attributes.item.impl.AbstractPartialFixedItemInvView
alexiil.mc.lib.attributes.item.impl.MappedFixedItemInvView
alexiil.mc.lib.attributes.item.impl.MappedFixedItemInv
alexiil.mc.lib.attributes.item.impl.MappedFixedItemInv.OfModifiable
- All Implemented Interfaces:
Convertible
,AbstractItemInvView
,FixedItemInv
,FixedItemInv.ModifiableFixedItemInv
,FixedItemInvView
- Enclosing class:
- MappedFixedItemInv
public static class MappedFixedItemInv.OfModifiable extends MappedFixedItemInv implements FixedItemInv.ModifiableFixedItemInv
-
Nested Class Summary
Nested classes/interfaces inherited from class alexiil.mc.lib.attributes.item.impl.MappedFixedItemInv
MappedFixedItemInv.OfCopying, MappedFixedItemInv.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.MappedFixedItemInvView
inverseSlotMap, slots
-
Constructor Summary
Constructors Constructor Description OfModifiable(FixedItemInv.ModifiableFixedItemInv inv, int[] slots)
-
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.MappedFixedItemInv
create, getMappedInv, getSubInv, setInvStack
Methods inherited from class alexiil.mc.lib.attributes.item.impl.MappedFixedItemInvView
createView, 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
-