net.minecraft.client.renderer.block

public class LiquidBlockRenderer

gfu
net.minecraft.client.renderer.block.LiquidBlockRenderer
net.minecraft.class_775
net.minecraft.client.render.block.FluidRenderer
net.minecraft.src.C_4185_

Field summary

Modifier and TypeField
private static final float
a
MAX_FLUID_HEIGHT
field_32781
field_32781
f_173402_
private final TextureAtlasSprite[]
b
lavaIcons
field_4165
lavaSprites
f_110940_
private final TextureAtlasSprite[]
c
waterIcons
field_4166
waterSprites
f_110941_
private TextureAtlasSprite
d
waterOverlay
field_4164
waterOverlaySprite
f_110942_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
a()
setupSprites()
method_3345()
onResourceReload()
m_110944_()
private static boolean
a(epe arg0, epe arg1)
isNeighborSameFluid(FluidState arg0, FluidState arg1)
method_3348(class_3610 arg0, class_3610 arg1)
isSameFluid(FluidState a, FluidState b)
m_203185_(C_2691_ p_203186_, C_2691_ p_203187_)
private static boolean
a(dcc arg0, ji arg1, float arg2, jd arg3, dtc arg4)
isFaceOccludedByState(BlockGetter arg0, Direction arg1, float arg2, BlockPos arg3, BlockState arg4)
method_29710(class_1922 arg0, class_2350 arg1, float arg2, class_2338 arg3, class_2680 arg4)
isSideCovered(BlockView world, Direction direction, float height, BlockPos pos, BlockState state)
m_110978_(C_1559_ p_110979_, C_4687_ p_110980_, float p_110981_, C_4675_ p_110982_, C_2064_ p_110983_)
private static boolean
a(dcc arg0, jd arg1, ji arg2, float arg3, dtc arg4)
isFaceOccludedByNeighbor(BlockGetter arg0, BlockPos arg1, Direction arg2, float arg3, BlockState arg4)
method_3344(class_1922 arg0, class_2338 arg1, class_2350 arg2, float arg3, class_2680 arg4)
isSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation, BlockState state)
m_203179_(C_1559_ p_203180_, C_4675_ p_203181_, C_4687_ p_203182_, float p_203183_, C_2064_ p_203184_)
private static boolean
a(dcc arg0, jd arg1, dtc arg2, ji arg3)
isFaceOccludedBySelf(BlockGetter arg0, BlockPos arg1, BlockState arg2, Direction arg3)
method_29709(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_2350 arg3)
isOppositeSideCovered(BlockView world, BlockPos pos, BlockState state, Direction direction)
m_110959_(C_1559_ p_110960_, C_4675_ p_110961_, C_2064_ p_110962_, C_4687_ p_110963_)
public static boolean
a(dbz arg0, jd arg1, epe arg2, dtc arg3, ji arg4, epe arg5)
shouldRenderFace(BlockAndTintGetter arg0, BlockPos arg1, FluidState arg2, BlockState arg3, Direction arg4, FluidState arg5)
method_29708(class_1920 arg0, class_2338 arg1, class_3610 arg2, class_2680 arg3, class_2350 arg4, class_3610 arg5)
shouldRenderSide(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction, FluidState neighborFluidState)
m_203166_(C_1557_ p_203167_, C_4675_ p_203168_, C_2691_ p_203169_, C_2064_ p_203170_, C_4687_ p_203171_, C_2691_ p_203172_)
public void
a(dbz arg0, jd arg1, fbm arg2, dtc arg3, epe arg4)
tesselate(BlockAndTintGetter arg0, BlockPos arg1, VertexConsumer arg2, BlockState arg3, FluidState arg4)
method_3347(class_1920 arg0, class_2338 arg1, class_4588 arg2, class_2680 arg3, class_3610 arg4)
render(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState)
m_234369_(C_1557_ p_234371_, C_4675_ p_234372_, C_3187_ p_234373_, C_2064_ p_234374_, C_2691_ arg4)
private float
a(dbz arg0, epd arg1, float arg2, float arg3, float arg4, jd arg5)
calculateAverageHeight(BlockAndTintGetter arg0, Fluid arg1, float arg2, float arg3, float arg4, BlockPos arg5)
method_40077(class_1920 arg0, class_3611 arg1, float arg2, float arg3, float arg4, class_2338 arg5)
calculateFluidHeight(BlockRenderView world, Fluid fluid, float originHeight, float northSouthHeight, float eastWestHeight, BlockPos pos)
m_203149_(C_1557_ p_203151_, C_2690_ p_203152_, float p_203153_, float p_203154_, float p_203155_, C_4675_ arg5)
private void
a(float[] arg0, float arg1)
addWeightedHeight(float[] arg0, float arg1)
method_40080(float[] arg0, float arg1)
addHeight(float[] weightedAverageHeight, float height)
m_203188_(float[] p_203190_, float arg1)
private float
a(dbz arg0, epd arg1, jd arg2)
getHeight(BlockAndTintGetter arg0, Fluid arg1, BlockPos arg2)
method_40078(class_1920 arg0, class_3611 arg1, class_2338 arg2)
getFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos)
m_203156_(C_1557_ p_203158_, C_2690_ p_203159_, C_4675_ arg2)
private float
a(dbz arg0, epd arg1, jd arg2, dtc arg3, epe arg4)
getHeight(BlockAndTintGetter arg0, Fluid arg1, BlockPos arg2, BlockState arg3, FluidState arg4)
method_40079(class_1920 arg0, class_3611 arg1, class_2338 arg2, class_2680 arg3, class_3610 arg4)
getFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState)
m_203160_(C_1557_ p_203162_, C_2690_ p_203163_, C_4675_ p_203164_, C_2064_ p_203165_, C_2691_ arg4)
private void
a(fbm arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9)
vertex(VertexConsumer arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9)
method_23072(class_4588 arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9)
vertex(VertexConsumer vertexConsumer, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9)
m_110984_(C_3187_ p_110989_, float p_110990_, float p_110991_, float p_110992_, float p_110993_, float p_343128_, float p_344448_, float p_344284_, float p_110994_, int arg9)
private int
a(dbz arg0, jd arg1)
getLightColor(BlockAndTintGetter arg0, BlockPos arg1)
method_3343(class_1920 arg0, class_2338 arg1)
getLight(BlockRenderView world, BlockPos pos)
m_110945_(C_1557_ p_110947_, C_4675_ arg1)