Package alexiil.mc.lib.attributes.item
Class GroupedItemInvView.ItemInvStatistic
java.lang.Object
alexiil.mc.lib.attributes.item.GroupedItemInvView.ItemInvStatistic
- Enclosing interface:
- GroupedItemInvView
Statistics associated with a single 
ItemFilter in a given inventory.- 
Field SummaryFieldsModifier and TypeFieldDescriptionintThe total amount of the given filter.intThe total amount of space that the given filter can be added to (where an inventory already contains a partial stack).intThe total amount of additional entries that could be added to by this filter.
- 
Constructor SummaryConstructorsConstructorDescriptionItemInvStatistic(ItemFilter filter, int amount, int spaceAddable, int spaceTotal)
- 
Method Summary
- 
Field Details- 
filter
- 
amountpublic final int amountThe total amount of the given filter.
- 
spaceAddablepublic final int spaceAddableThe total amount of space that the given filter can be added to (where an inventory already contains a partial stack).
- 
spaceTotalpublic final int spaceTotalThe total amount of additional entries that could be added to by this filter. This might be -1 if the filter isn't specific enough to properly calculate this value.
 
- 
- 
Constructor Details- 
ItemInvStatistic
 
-