Package org.moddingx.libx.render
Class RenderHelperFluid
java.lang.Object
org.moddingx.libx.render.RenderHelperFluid
Helper class to render fluids into a GUI. This can either render
fluid stacks
or fluids
with a special color.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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)
-