Class FluidTankMountedStorage.Handler

java.lang.Object
net.neoforged.neoforge.fluids.capability.templates.FluidTank
com.simibubi.create.content.fluids.tank.storage.FluidTankMountedStorage.Handler
All Implemented Interfaces:
net.neoforged.neoforge.fluids.capability.IFluidHandler, net.neoforged.neoforge.fluids.IFluidTank
Enclosing class:
FluidTankMountedStorage

public static final class FluidTankMountedStorage.Handler extends net.neoforged.neoforge.fluids.capability.templates.FluidTank
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.neoforged.neoforge.fluids.capability.IFluidHandler

    net.neoforged.neoforge.fluids.capability.IFluidHandler.FluidAction
  • Field Summary

    Fields inherited from class net.neoforged.neoforge.fluids.capability.templates.FluidTank

    capacity, fluid, validator
  • Constructor Summary

    Constructors
    Constructor
    Description
    Handler(int capacity, net.neoforged.neoforge.fluids.FluidStack stack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class net.neoforged.neoforge.fluids.capability.templates.FluidTank

    drain, drain, fill, getCapacity, getFluid, getFluidAmount, getFluidInTank, getSpace, getTankCapacity, getTanks, isEmpty, isFluidValid, isFluidValid, readFromNBT, setCapacity, setFluid, setValidator, writeToNBT

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Handler

      public Handler(int capacity, net.neoforged.neoforge.fluids.FluidStack stack)
  • Method Details

    • onContentsChanged

      protected void onContentsChanged()
      Overrides:
      onContentsChanged in class net.neoforged.neoforge.fluids.capability.templates.FluidTank