Class NeoFluidData

java.lang.Object
mcp.mobius.waila.api.neo.NeoFluidData

public class NeoFluidData extends Object
NeoForge-specific helper for creating FluidData.
  • Field Details

  • Constructor Details

    • NeoFluidData

      public NeoFluidData()
  • Method Details

    • of

      public static FluidData.PlatformDependant<net.neoforged.neoforge.transfer.fluid.FluidResource> of()
      Creates a fluid data that accepts a FluidResource
    • of

      public static FluidData.PlatformDependant<net.neoforged.neoforge.transfer.fluid.FluidResource> of(int slotCountHint)
      Creates a fluid data that accepts a FluidResource
      Parameters:
      slotCountHint - hint of how many the slots probably are to minimize growing the list more than necessary, the user can call FluidData.add(Fluid, DataComponentPatch, double, double) more than the specified count