Package alexiil.mc.lib.attributes.fluid
Class GroupedFluidInvView.FluidInvStatistic
java.lang.Object
alexiil.mc.lib.attributes.fluid.GroupedFluidInvView.FluidInvStatistic
- Enclosing interface:
- GroupedFluidInvView
Statistics associated with a single 
FluidFilter in a given inventory.- 
Field SummaryFieldsModifier and TypeFieldDescriptionintDeprecated, for removal: This API element is subject to removal in a future version.The total amount of the given filter.intDeprecated, for removal: This API element is subject to removal in a future version.Replaced byspaceAddable_Finstead.The total amount of space that the given filter can be added to (where an inventory already contains a partial stack).intDeprecated, for removal: This API element is subject to removal in a future version.Replaced byspaceTotal_Finstead.The total amount of additional entries that could be added to by this filter.
- 
Constructor SummaryConstructorsConstructorDescriptionFluidInvStatistic(FluidFilter filter, int amount, int spaceAddable, int spaceTotal)Deprecated, for removal: This API element is subject to removal in a future version.FluidInvStatistic(FluidFilter filter, FluidAmount amount, FluidAmount spaceAddable, FluidAmount spaceTotal)
- 
Method Summary
- 
Field Details- 
filter
- 
amountDeprecated, for removal: This API element is subject to removal in a future version.Replaced byamount_Finstead.The total amount of the given filter.
- 
amount_FThe total amount of the given filter.
- 
spaceAddableDeprecated, for removal: This API element is subject to removal in a future version.Replaced byspaceAddable_Finstead.The total amount of space that the given filter can be added to (where an inventory already contains a partial stack).
- 
spaceAddable_FThe total amount of space that the given filter can be added to (where an inventory already contains a partial stack).
- 
spaceTotalDeprecated, for removal: This API element is subject to removal in a future version.Replaced byspaceTotal_Finstead.The 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.
- 
spaceTotal_FThe total amount of additional entries that could be added to by this filter. This might beFluidAmount.NEGATIVE_ONEif the filter isn't specific enough to properly calculate this value.
 
- 
- 
Constructor Details- 
FluidInvStatistic@Deprecated(since="0.6.0", forRemoval=true) public FluidInvStatistic(FluidFilter filter, int amount, int spaceAddable, int spaceTotal)Deprecated, for removal: This API element is subject to removal in a future version.
- 
FluidInvStatisticpublic FluidInvStatistic(FluidFilter filter, FluidAmount amount, FluidAmount spaceAddable, FluidAmount spaceTotal)
 
- 
- 
Method Details- 
emptyOf- Returns:
- A new GroupedFluidInvView.FluidInvStatisticthat has 0's foramount,spaceAddable, andspaceTotal
 
 
- 
amount_Finstead.