Class RenderHelperFluid

java.lang.Object
org.moddingx.libx.render.RenderHelperFluid

public class RenderHelperFluid extends Object
Helper class to render fluids into a GUI. This can either render fluid stacks or fluids with a special color.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    renderFluid(net.minecraft.client.gui.GuiGraphics graphics, int color, int x, int y, int width, int height)
     
    static void
    renderFluid(net.minecraft.client.gui.GuiGraphics graphics, net.minecraftforge.fluids.FluidStack stack, int x, int y, int width, int height)
     

    Methods inherited from class java.lang.Object

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

    • RenderHelperFluid

      public RenderHelperFluid()
  • Method Details

    • renderFluid

      public static void renderFluid(net.minecraft.client.gui.GuiGraphics graphics, net.minecraftforge.fluids.FluidStack stack, int x, int y, int width, int height)
    • renderFluid

      public static void renderFluid(net.minecraft.client.gui.GuiGraphics graphics, int color, int x, int y, int width, int height)