Package net.createmod.catnip.render
Class FluidRenderHelper<T>
java.lang.Object
net.createmod.catnip.render.FluidRenderHelper<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.blaze3d.vertex.VertexConsumergetFluidBuilder(net.minecraft.client.renderer.MultiBufferSource buffer) voidrenderFluidBox(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) voidrenderFluidBox(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) voidrenderFluidBox(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) voidrenderFluidBox(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 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
-
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)
-