Class FluidRenderer

java.lang.Object
com.simibubi.create.foundation.fluid.FluidRenderer

public class FluidRenderer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.mojang.blaze3d.vertex.VertexConsumer
    getFluidBuilder(net.minecraft.client.renderer.MultiBufferSource buffer)
     
    static void
    renderFlowingTiledFace(net.minecraft.core.Direction dir, float left, float down, float right, float up, float depth, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light, int color, net.minecraft.client.renderer.texture.TextureAtlasSprite texture)
     
    static void
    renderFluidBox(net.minecraftforge.fluids.FluidStack fluidStack, float xMin, float yMin, float zMin, float xMax, float yMax, float zMax, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light, boolean renderBottom)
     
    static void
    renderFluidBox(net.minecraftforge.fluids.FluidStack fluidStack, float xMin, float yMin, float zMin, float xMax, float yMax, float zMax, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, int light, boolean renderBottom)
     
    static void
    renderFluidStream(net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.core.Direction direction, float radius, float progress, boolean inbound, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light)
     
    static void
    renderFluidStream(net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.core.Direction direction, float radius, float progress, boolean inbound, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, int light)
     
    static void
    renderStillTiledFace(net.minecraft.core.Direction dir, float left, float down, float right, float up, float depth, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light, int color, net.minecraft.client.renderer.texture.TextureAtlasSprite texture)
     
    static void
    renderTiledFace(net.minecraft.core.Direction dir, float left, float down, float right, float up, float depth, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light, int color, net.minecraft.client.renderer.texture.TextureAtlasSprite texture, float textureScale)
     

    Methods inherited from class java.lang.Object

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

    • FluidRenderer

      public FluidRenderer()
  • Method Details

    • getFluidBuilder

      public static com.mojang.blaze3d.vertex.VertexConsumer getFluidBuilder(net.minecraft.client.renderer.MultiBufferSource buffer)
    • renderFluidStream

      public static void renderFluidStream(net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.core.Direction direction, float radius, float progress, boolean inbound, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, int light)
    • renderFluidStream

      public static void renderFluidStream(net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.core.Direction direction, float radius, float progress, boolean inbound, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light)
    • renderFluidBox

      public static void renderFluidBox(net.minecraftforge.fluids.FluidStack fluidStack, float xMin, float yMin, float zMin, float xMax, float yMax, float zMax, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, int light, boolean renderBottom)
    • renderFluidBox

      public static void renderFluidBox(net.minecraftforge.fluids.FluidStack fluidStack, float xMin, float yMin, float zMin, float xMax, float yMax, float zMax, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light, boolean renderBottom)
    • renderStillTiledFace

      public static void renderStillTiledFace(net.minecraft.core.Direction dir, float left, float down, float right, float up, float depth, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light, int color, net.minecraft.client.renderer.texture.TextureAtlasSprite texture)
    • renderFlowingTiledFace

      public static void renderFlowingTiledFace(net.minecraft.core.Direction dir, float left, float down, float right, float up, float depth, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light, int color, net.minecraft.client.renderer.texture.TextureAtlasSprite texture)
    • renderTiledFace

      public static void renderTiledFace(net.minecraft.core.Direction dir, float left, float down, float right, float up, float depth, com.mojang.blaze3d.vertex.VertexConsumer builder, com.mojang.blaze3d.vertex.PoseStack ms, int light, int color, net.minecraft.client.renderer.texture.TextureAtlasSprite texture, float textureScale)