Class FluidRenderer
java.lang.Object
com.simibubi.create.foundation.fluid.FluidRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.blaze3d.vertex.VertexConsumergetFluidBuilder(net.minecraft.client.renderer.MultiBufferSource buffer) static voidrenderFlowingTiledFace(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 voidrenderFluidBox(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 voidrenderFluidBox(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 voidrenderFluidStream(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 voidrenderFluidStream(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 voidrenderStillTiledFace(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 voidrenderTiledFace(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)
-
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)
-