Package mcp.mobius.waila.api.forge
Class ForgeFluidData
java.lang.Object
mcp.mobius.waila.api.forge.ForgeFluidData
Forge-specific helper for creating
FluidData.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionof()Creates a fluid data that accepts aFluidStackof(int slotCountHint) Creates a fluid data that accepts aFluidStack
-
Field Details
-
TRANSLATOR
-
-
Constructor Details
-
ForgeFluidData
public ForgeFluidData()
-
-
Method Details
-
of
Creates a fluid data that accepts aFluidStack -
of
Creates a fluid data that accepts aFluidStack- Parameters:
slotCountHint- hint of how many the slots probably are to minimize growing the list more than necessary, the user can callFluidData.add(net.minecraft.world.level.material.Fluid, net.minecraft.core.component.DataComponentPatch, double, double)more than the specified count
-