Class IngredientComponentStorageWrapperHandlerFluidStack.FluidStorageWrapperSlotted
java.lang.Object
org.cyclops.commoncapabilities.ingredient.storage.IngredientComponentStorageWrapperHandlerFluidStack.FluidStorageWrapper
org.cyclops.commoncapabilities.ingredient.storage.IngredientComponentStorageWrapperHandlerFluidStack.FluidStorageWrapperSlotted
- All Implemented Interfaces:
net.neoforged.neoforge.fluids.capability.IFluidHandler
- Enclosing class:
IngredientComponentStorageWrapperHandlerFluidStack<C>
public static class IngredientComponentStorageWrapperHandlerFluidStack.FluidStorageWrapperSlotted
extends IngredientComponentStorageWrapperHandlerFluidStack.FluidStorageWrapper
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.neoforged.neoforge.fluids.capability.IFluidHandler
net.neoforged.neoforge.fluids.capability.IFluidHandler.FluidAction
-
Constructor Summary
ConstructorDescriptionFluidStorageWrapperSlotted
(IIngredientComponentStorageSlotted<net.neoforged.neoforge.fluids.FluidStack, Integer> storage) -
Method Summary
Modifier and TypeMethodDescriptionnet.neoforged.neoforge.fluids.FluidStack
getFluidInTank
(int tank) int
getTankCapacity
(int tank) int
getTanks()
Methods inherited from class org.cyclops.commoncapabilities.ingredient.storage.IngredientComponentStorageWrapperHandlerFluidStack.FluidStorageWrapper
drain, drain, fill, isFluidValid
-
Constructor Details
-
FluidStorageWrapperSlotted
public FluidStorageWrapperSlotted(IIngredientComponentStorageSlotted<net.neoforged.neoforge.fluids.FluidStack, Integer> storage)
-
-
Method Details
-
getTanks
public int getTanks()- Specified by:
getTanks
in interfacenet.neoforged.neoforge.fluids.capability.IFluidHandler
- Overrides:
getTanks
in classIngredientComponentStorageWrapperHandlerFluidStack.FluidStorageWrapper
-
getFluidInTank
@Nonnull public net.neoforged.neoforge.fluids.FluidStack getFluidInTank(int tank) - Specified by:
getFluidInTank
in interfacenet.neoforged.neoforge.fluids.capability.IFluidHandler
- Overrides:
getFluidInTank
in classIngredientComponentStorageWrapperHandlerFluidStack.FluidStorageWrapper
-
getTankCapacity
public int getTankCapacity(int tank) - Specified by:
getTankCapacity
in interfacenet.neoforged.neoforge.fluids.capability.IFluidHandler
- Overrides:
getTankCapacity
in classIngredientComponentStorageWrapperHandlerFluidStack.FluidStorageWrapper
-