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 Summary
FieldsModifier and TypeFieldDescriptionfinal intDeprecated, for removal: This API element is subject to removal in a future version.final FluidAmountThe total amount of the given filter.final FluidFilterfinal intDeprecated, for removal: This API element is subject to removal in a future version.Replaced byspaceAddable_Finstead.final FluidAmountThe total amount of space that the given filter can be added to (where an inventory already contains a partial stack).final intDeprecated, for removal: This API element is subject to removal in a future version.Replaced byspaceTotal_Finstead.final FluidAmountThe total amount of additional entries that could be added to by this filter. - 
Constructor Summary
ConstructorsConstructorDescriptionFluidInvStatistic(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
 - 
amount
Deprecated, for removal: This API element is subject to removal in a future version.Replaced byamount_Finstead.The total amount of the given filter. - 
amount_F
The total amount of the given filter. - 
spaceAddable
Deprecated, 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_F
The total amount of space that the given filter can be added to (where an inventory already contains a partial stack). - 
spaceTotal
Deprecated, 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_F
The 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. - 
FluidInvStatistic
public 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.