Class SubFixedFluidInv
java.lang.Object
alexiil.mc.lib.attributes.fluid.impl.AbstractPartialFixedFluidInvView
alexiil.mc.lib.attributes.fluid.impl.SubFixedFluidInvView
alexiil.mc.lib.attributes.fluid.impl.SubFixedFluidInv
- All Implemented Interfaces:
Convertible,FixedFluidInv,FixedFluidInvView
-
Field Summary
Fields inherited from class alexiil.mc.lib.attributes.fluid.impl.AbstractPartialFixedFluidInvView
inv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansetInvFluid(int tank, FluidVolume to, Simulation simulation) Sets the fluid in the given tank to the given fluid.Methods inherited from class alexiil.mc.lib.attributes.fluid.impl.SubFixedFluidInvView
addListener, getFixedView, getInternalTank, getTankCountMethods inherited from class alexiil.mc.lib.attributes.fluid.impl.AbstractPartialFixedFluidInvView
getFilterForTank, getInvFluid, getMaxAmount, getMaxAmount_F, isFluidValidForTankMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface alexiil.mc.lib.attributes.fluid.FixedFluidInv
createLimitedFixedInv, extractFluid, forceSetInvFluid, getExtractable, getGroupedInv, getInsertable, getMappedInv, getSubInv, getTank, getTransferable, insertFluid, isFluidValidForTank, modifyTank, tankIterableMethods inherited from interface alexiil.mc.lib.attributes.fluid.FixedFluidInvView
addListener, convertTo, fluidIterable, getFilterForTank, getFixedView, getInvFluid, getMaxAmount, getMaxAmount_F, getTankCount, offerSelfAsAttribute
-
Constructor Details
-
SubFixedFluidInv
-
-
Method Details
-
setInvFluid
Description copied from interface:FixedFluidInvSets the fluid in the given tank to the given fluid.- Specified by:
setInvFluidin interfaceFixedFluidInv- Returns:
- True if the modification was allowed, false otherwise. (For example if the given stack doesn't pass the
FixedFluidInvView.isFluidValidForTank(int, FluidKey)test).
-