Package alexiil.mc.lib.attributes.misc
Class AbstractCombined<T>
java.lang.Object
alexiil.mc.lib.attributes.misc.AbstractCombined<T>
- All Implemented Interfaces:
Combined
- Direct Known Subclasses:
CombinedFixedFluidInvView
,CombinedFixedItemInvView
,CombinedFluidExtractable
,CombinedFluidInsertable
,CombinedGroupedFluidInvView
,CombinedGroupedItemInvView
,CombinedItemExtractable
,CombinedItemInsertable
Implementation helper class for LBA
Combined
.-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
list
-
-
Constructor Details
-
AbstractCombined
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getSubObjectCount
public int getSubObjectCount()- Specified by:
getSubObjectCount
in interfaceCombined
- Returns:
- The number of sub-objects that this combines to make. May return -1 if this cannot easily expose the sub-objects cleanly.
-
getSubObject
- Specified by:
getSubObject
in interfaceCombined
- Parameters:
index
- The index, between 0 andCombined.getSubObjectCount()
.
-
toString
-