net.minecraft.client.renderer.block

public class LiquidBlockRenderer

fkp
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(dxe arg0, dxe 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(cls arg0, ha arg1, float arg2, gu arg3, dcb 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(cls arg0, gu arg1, ha arg2, float arg3, dcb 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(cls arg0, gu arg1, dcb arg2, ha 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(clp arg0, gu arg1, dxe arg2, dcb arg3, ha arg4, dxe 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(clp arg0, gu arg1, ein arg2, dcb arg3, dxe 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(clp arg0, dxd arg1, float arg2, float arg3, float arg4, gu 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(clp arg0, dxd arg1, gu 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(clp arg0, dxd arg1, gu arg2, dcb arg3, dxe 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(ein arg0, double arg1, double arg2, double arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9)
vertex(VertexConsumer arg0, double arg1, double arg2, double arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9)
method_23072(class_4588 arg0, double arg1, double arg2, double arg3, float arg4, float arg5, float arg6, float arg7, float arg8, int arg9)
vertex(VertexConsumer vertexConsumer, double x, double y, double z, float red, float green, float blue, float u, float v, int light)
m_110984_(C_3187_ p_110986_, double p_110987_, double p_110989_, double p_110991_, float p_110993_, float p_110994_, float arg6, float arg7, float arg8, int arg9)
private int
a(clp arg0, gu 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)