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
public interface FluidInvAmountChangeListener
Deprecated.
Replaced by
FluidInvAmountChangeListener_F.-
Method Summary
Modifier and Type Method Description static FluidInvAmountChangeListener_FasNew(FluidInvAmountChangeListener old)Deprecated.voidonChange(GroupedFluidInvView inv, FluidKey fluid, int previous, int current)Deprecated.
-
Method Details
-
onChange
Deprecated.- Parameters:
inv- The inventory that changedfluid- TheFluidKeywhose amount changed.previous- The previousFluidVolume.current- The newFluidVolume. TheFluidVolume.getFluidKey()will either be the empty fluid key, or equal to the passedFluidKey.
-
asNew
Deprecated.
-