Class FluidInventory

java.lang.Object
com.refinedmods.refinedstorage.inventory.fluid.FluidInventory
Direct Known Subclasses:
ConfiguredFluidsInFilterItemHandler, ConfiguredIconInFluidFilterItemHandler

public class FluidInventory extends Object
  • Constructor Details

    • FluidInventory

      public FluidInventory(int size, int maxAmount)
    • FluidInventory

      public FluidInventory(int size)
  • Method Details

    • addListener

      public FluidInventory addListener(InventoryListener<FluidInventory> listener)
    • getSlots

      public int getSlots()
    • getMaxAmount

      public int getMaxAmount()
    • getFluids

      public net.neoforged.neoforge.fluids.FluidStack[] getFluids()
    • getFluid

      @Nonnull public net.neoforged.neoforge.fluids.FluidStack getFluid(int slot)
    • setFluid

      public void setFluid(int slot, @Nonnull net.neoforged.neoforge.fluids.FluidStack stack)
    • onChanged

      public void onChanged(int slot)
    • writeToNbt

      public net.minecraft.nbt.CompoundTag writeToNbt()
    • readFromNbt

      public void readFromNbt(net.minecraft.nbt.CompoundTag tag)
    • isEmpty

      public boolean isEmpty()