net.minecraft.client.renderer.block

public class LiquidBlockRenderer

gmp
net.minecraft.client.renderer.block.LiquidBlockRenderer
net.minecraft.class_775
net.minecraft.client.render.block.FluidRenderer

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
a()
setupSprites()
method_3345()
onResourceReload()
private static boolean
a(etx arg0, etx arg1)
isNeighborSameFluid(FluidState arg0, FluidState arg1)
method_3348(class_3610 arg0, class_3610 arg1)
isSameFluid(FluidState a, FluidState b)
private static boolean
a(jm arg0, float arg1, dxv arg2)
isFaceOccludedByState(Direction arg0, float arg1, BlockState arg2)
method_29710(class_2350 arg0, float arg1, class_2680 arg2)
isSideCovered(Direction arg0, float arg1, BlockState arg2)
private static boolean
b(jm arg0, float arg1, dxv arg2)
isFaceOccludedByNeighbor(Direction arg0, float arg1, BlockState arg2)
method_3344(class_2350 arg0, float arg1, class_2680 arg2)
method_3344(Direction arg0, float arg1, BlockState arg2)
private static boolean
a(dxv arg0, jm arg1)
isFaceOccludedBySelf(BlockState arg0, Direction arg1)
method_29709(class_2680 arg0, class_2350 arg1)
isOppositeSideCovered(BlockState arg0, Direction arg1)
public static boolean
a(etx arg0, dxv arg1, jm arg2, etx arg3)
shouldRenderFace(FluidState arg0, BlockState arg1, Direction arg2, FluidState arg3)
method_29708(class_3610 arg0, class_2680 arg1, class_2350 arg2, class_3610 arg3)
shouldRenderSide(FluidState arg0, BlockState arg1, Direction arg2, FluidState arg3)
public void
a(dgk arg0, jh arg1, fgw arg2, dxv arg3, etx 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)
private float
a(dgk arg0, etw arg1, float arg2, float arg3, float arg4, jh 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)
private void
a(float[] arg0, float arg1)
addWeightedHeight(float[] arg0, float arg1)
method_40080(float[] arg0, float arg1)
addHeight(float[] weightedAverageHeight, float height)
private float
a(dgk arg0, etw arg1, jh 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)
private float
a(dgk arg0, etw arg1, jh arg2, dxv arg3, etx 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)
private void
a(fgw 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)
private int
a(dgk arg0, jh arg1)
getLightColor(BlockAndTintGetter arg0, BlockPos arg1)
method_3343(class_1920 arg0, class_2338 arg1)
getLight(BlockRenderView world, BlockPos pos)