net.minecraft.client.renderer.block

public class LiquidBlockRenderer

gne
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(eta arg0, eta arg1)
isNeighborSameFluid(FluidState arg0, FluidState arg1)
method_3348(class_3610 arg0, class_3610 arg1)
isSameFluid(FluidState a, FluidState b)
private static boolean
a(jn arg0, float arg1, dwy 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(jn arg0, float arg1, dwy 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(dwy arg0, jn arg1)
isFaceOccludedBySelf(BlockState arg0, Direction arg1)
method_29709(class_2680 arg0, class_2350 arg1)
isOppositeSideCovered(BlockState arg0, Direction arg1)
public static boolean
a(eta arg0, dwy arg1, jn arg2, eta 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(dfl arg0, ji arg1, ffz arg2, dwy arg3, eta 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(dfl arg0, esz arg1, float arg2, float arg3, float arg4, ji 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(dfl arg0, esz arg1, ji 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(dfl arg0, esz arg1, ji arg2, dwy arg3, eta 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(ffz 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(dfl arg0, ji arg1)
getLightColor(BlockAndTintGetter arg0, BlockPos arg1)
method_3343(class_1920 arg0, class_2338 arg1)
getLight(BlockRenderView world, BlockPos pos)