Class FluidRenderHelper<T>

java.lang.Object
net.createmod.catnip.render.FluidRenderHelper<T>

public final class FluidRenderHelper<T> 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)
     
    void
    renderFluidBox(net.minecraft.world.level.material.FluidState fluid, 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, boolean invertGasses)
     
    void
    renderFluidBox(net.minecraft.world.level.material.FluidState fluid, 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, boolean invertGasses)
     
    void
    renderFluidBox(T fluid, 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, boolean invertGasses)
     
    void
    renderFluidBox(T fluid, 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, boolean invertGasses)
     
    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

    • FluidRenderHelper

      public FluidRenderHelper()
  • Method Details

    • renderFluidBox

      public void renderFluidBox(net.minecraft.world.level.material.FluidState fluid, 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, boolean invertGasses)
    • renderFluidBox

      public void renderFluidBox(net.minecraft.world.level.material.FluidState fluid, 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, boolean invertGasses)
    • renderFluidBox

      public void renderFluidBox(T fluid, 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, boolean invertGasses)
    • renderFluidBox

      public void renderFluidBox(T fluid, 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, boolean invertGasses)
    • getFluidBuilder

      public static com.mojang.blaze3d.vertex.VertexConsumer getFluidBuilder(net.minecraft.client.renderer.MultiBufferSource buffer)
    • 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)
    • 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)