JavaScript is disabled on your browser.
FluidVolumeRenderer.ComponentRenderFaces. split
FluidRenderFace. createFlatFace (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
net.minecraft.util.math.Direction face)
FluidRenderFace. createFlatFace (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
net.minecraft.util.math.Direction face,
boolean flowing)
FluidRenderFace. createFlatFaceX (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
boolean positive)
FluidRenderFace. createFlatFaceX (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
boolean positive,
boolean flowing)
FluidRenderFace. createFlatFaceY (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
boolean positive)
FluidRenderFace. createFlatFaceY (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
boolean positive,
boolean flowing)
FluidRenderFace. createFlatFaceZ (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
boolean positive)
FluidRenderFace. createFlatFaceZ (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
boolean positive,
boolean flowing)
protected static void
FluidVolumeRenderer. vertex (net.minecraft.client.render.VertexConsumer vc,
net.minecraft.client.util.math.MatrixStack matrices,
double x,
double y,
double z,
float u,
float v,
int r,
int g,
int b,
int a,
FluidRenderFace f)
Appends a single vertex in VertexFormats.POSITION_COLOR_TEXTURE_LIGHT_NORMAL
format.
protected static void
FluidVolumeRenderer. vertex (net.minecraft.client.render.VertexConsumer vc,
net.minecraft.client.util.math.MatrixStack matrices,
double x,
double y,
double z,
float u,
float v,
int r,
int g,
int b,
FluidRenderFace f)
Appends a single vertex in VertexFormats.POSITION_COLOR_TEXTURE_LIGHT_NORMAL
format.
static void
FluidRenderFace. appendCuboid (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
EnumSet <net.minecraft.util.math.Direction> faces,
List <FluidRenderFace > to)
static void
FluidRenderFace. appendCuboid (double x0,
double y0,
double z0,
double x1,
double y1,
double z1,
double textureScale,
EnumSet <net.minecraft.util.math.Direction> faces,
List <FluidRenderFace > to,
boolean flowing)
void
DefaultFluidVolumeRenderer. render (FluidVolume fluid,
List <FluidRenderFace > faces,
net.minecraft.client.render.VertexConsumerProvider vcp,
net.minecraft.client.util.math.MatrixStack matrices)
void
EnchantmentGlintFluidRenderer. render (FluidVolume fluid,
List <FluidRenderFace > faces,
net.minecraft.client.render.VertexConsumerProvider vcp,
net.minecraft.client.util.math.MatrixStack matrices)
abstract void
FluidVolumeRenderer. render (FluidVolume fluid,
List <FluidRenderFace > faces,
net.minecraft.client.render.VertexConsumerProvider vcp,
net.minecraft.client.util.math.MatrixStack matrices)
Renders a list of faces of the given fluid at the specified co-ordinates.
void
ImplicitVanillaFluidVolumeRenderer. render (FluidVolume fluid,
List <FluidRenderFace > faces,
net.minecraft.client.render.VertexConsumerProvider vcp,
net.minecraft.client.util.math.MatrixStack matrices)
Deprecated, for removal: This API element is subject to removal in a future version.
protected static void
FluidVolumeRenderer. renderSimpleFluid (List <FluidRenderFace > faces,
net.minecraft.client.render.VertexConsumer vc,
net.minecraft.client.util.math.MatrixStack matrices,
net.minecraft.client.texture.Sprite sprite,
int colour)
Deprecated, for removal: This API element is subject to removal in a future version.
protected static void
FluidVolumeRenderer. renderSimpleFluid (List <FluidRenderFace > faces,
net.minecraft.client.render.VertexConsumer vc,
net.minecraft.client.util.math.MatrixStack matrices,
net.minecraft.client.texture.Sprite still,
net.minecraft.client.texture.Sprite flowing,
int colour)
Renders a fluid in VertexFormats.POSITION_COLOR_TEXTURE
void
FluidVolume. render (List <FluidRenderFace > faces,
net.minecraft.client.render.VertexConsumerProvider vcp,
net.minecraft.client.util.math.MatrixStack matrices)
FluidVolumeRenderer.renderSimpleFluid(List, VertexConsumer, MatrixStack, Sprite, Sprite, int)
instead, which takes both the still and flowing sprites.