Package alexiil.mc.lib.attributes.fluid
Interface FluidInvAmountChangeListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@Deprecated(since="0.6.0",
forRemoval=true)
public interface FluidInvAmountChangeListener
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by
FluidInvAmountChangeListener_F
.-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.void
onChange
(GroupedFluidInvView inv, FluidKey fluid, int previous, int current) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
onChange
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
inv
- The inventory that changedfluid
- TheFluidKey
whose amount changed.previous
- The previousFluidVolume
.current
- The newFluidVolume
. TheFluidVolume.getFluidKey()
will either be the empty fluid key, or equal to the passedFluidKey
.
-
asNew
Deprecated, for removal: This API element is subject to removal in a future version.
-