Class FluidRenderer
java.lang.Object
net.minecraft.client.render.block.FluidRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/block/FluidRenderer
intermediary net/minecraft/class_775
official gfu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addHeight
(float[] weightedAverageHeight, float height) private float
calculateFluidHeight
(BlockRenderView world, Fluid fluid, float originHeight, float northSouthHeight, float eastWestHeight, BlockPos pos) private float
getFluidHeight
(BlockRenderView world, Fluid fluid, BlockPos pos) private float
getFluidHeight
(BlockRenderView world, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) private int
getLight
(BlockRenderView world, BlockPos pos) private static boolean
isOppositeSideCovered
(BlockView world, BlockPos pos, BlockState state, Direction direction) private static boolean
isSameFluid
(FluidState a, FluidState b) private static boolean
isSideCovered
(BlockView world, BlockPos pos, Direction direction, float maxDeviation, BlockState state) private static boolean
isSideCovered
(BlockView world, Direction direction, float height, BlockPos pos, BlockState state) protected void
void
render
(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) static boolean
shouldRenderSide
(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction, FluidState neighborFluidState) private void
vertex
(VertexConsumer vertexConsumer, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, int int2)
-
Field Details
-
field_32781
private static final float field_32781- See Also:
- Mappings:
Namespace Name Mixin selector named field_32781
Lnet/minecraft/client/render/block/FluidRenderer;field_32781:F
intermediary field_32781
Lnet/minecraft/class_775;field_32781:F
official a
Lgfu;a:F
-
lavaSprites
- Mappings:
Namespace Name Mixin selector named lavaSprites
Lnet/minecraft/client/render/block/FluidRenderer;lavaSprites:[Lnet/minecraft/client/texture/Sprite;
intermediary field_4165
Lnet/minecraft/class_775;field_4165:[Lnet/minecraft/class_1058;
official b
Lgfu;b:[Lgql;
-
waterSprites
- Mappings:
Namespace Name Mixin selector named waterSprites
Lnet/minecraft/client/render/block/FluidRenderer;waterSprites:[Lnet/minecraft/client/texture/Sprite;
intermediary field_4166
Lnet/minecraft/class_775;field_4166:[Lnet/minecraft/class_1058;
official c
Lgfu;c:[Lgql;
-
waterOverlaySprite
- Mappings:
Namespace Name Mixin selector named waterOverlaySprite
Lnet/minecraft/client/render/block/FluidRenderer;waterOverlaySprite:Lnet/minecraft/client/texture/Sprite;
intermediary field_4164
Lnet/minecraft/class_775;field_4164:Lnet/minecraft/class_1058;
official d
Lgfu;d:Lgql;
-
-
Constructor Details
-
FluidRenderer
public FluidRenderer()
-
-
Method Details
-
onResourceReload
protected void onResourceReload()- Mappings:
Namespace Name Mixin selector named onResourceReload
Lnet/minecraft/client/render/block/FluidRenderer;onResourceReload()V
intermediary method_3345
Lnet/minecraft/class_775;method_3345()V
official a
Lgfu;a()V
-
isSameFluid
- Mappings:
Namespace Name Mixin selector named isSameFluid
Lnet/minecraft/client/render/block/FluidRenderer;isSameFluid(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FluidState;)Z
intermediary method_3348
Lnet/minecraft/class_775;method_3348(Lnet/minecraft/class_3610;Lnet/minecraft/class_3610;)Z
official a
Lgfu;a(Lepe;Lepe;)Z
-
isSideCovered
private static boolean isSideCovered(BlockView world, Direction direction, float height, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector named isSideCovered
Lnet/minecraft/client/render/block/FluidRenderer;isSideCovered(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/Direction;FLnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
intermediary method_29710
Lnet/minecraft/class_775;method_29710(Lnet/minecraft/class_1922;Lnet/minecraft/class_2350;FLnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
official a
Lgfu;a(Ldcc;Lji;FLjd;Ldtc;)Z
-
isSideCovered
private static boolean isSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation, BlockState state) - Mappings:
Namespace Name Mixin selector named isSideCovered
Lnet/minecraft/client/render/block/FluidRenderer;isSideCovered(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FLnet/minecraft/block/BlockState;)Z
intermediary method_3344
Lnet/minecraft/class_775;method_3344(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;FLnet/minecraft/class_2680;)Z
official a
Lgfu;a(Ldcc;Ljd;Lji;FLdtc;)Z
-
isOppositeSideCovered
private static boolean isOppositeSideCovered(BlockView world, BlockPos pos, BlockState state, Direction direction) - Mappings:
Namespace Name Mixin selector named isOppositeSideCovered
Lnet/minecraft/client/render/block/FluidRenderer;isOppositeSideCovered(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
intermediary method_29709
Lnet/minecraft/class_775;method_29709(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
official a
Lgfu;a(Ldcc;Ljd;Ldtc;Lji;)Z
-
shouldRenderSide
public static boolean shouldRenderSide(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction, FluidState neighborFluidState) - Mappings:
Namespace Name Mixin selector named shouldRenderSide
Lnet/minecraft/client/render/block/FluidRenderer;shouldRenderSide(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/fluid/FluidState;)Z
intermediary method_29708
Lnet/minecraft/class_775;method_29708(Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_3610;)Z
official a
Lgfu;a(Ldbz;Ljd;Lepe;Ldtc;Lji;Lepe;)Z
-
render
public void render(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/block/FluidRenderer;render(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)V
intermediary method_3347
Lnet/minecraft/class_775;method_3347(Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;Lnet/minecraft/class_4588;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;)V
official a
Lgfu;a(Ldbz;Ljd;Lfbm;Ldtc;Lepe;)V
-
calculateFluidHeight
private float calculateFluidHeight(BlockRenderView world, Fluid fluid, float originHeight, float northSouthHeight, float eastWestHeight, BlockPos pos) - Mappings:
Namespace Name Mixin selector named calculateFluidHeight
Lnet/minecraft/client/render/block/FluidRenderer;calculateFluidHeight(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/fluid/Fluid;FFFLnet/minecraft/util/math/BlockPos;)F
intermediary method_40077
Lnet/minecraft/class_775;method_40077(Lnet/minecraft/class_1920;Lnet/minecraft/class_3611;FFFLnet/minecraft/class_2338;)F
official a
Lgfu;a(Ldbz;Lepd;FFFLjd;)F
-
addHeight
private void addHeight(float[] weightedAverageHeight, float height) - Mappings:
Namespace Name Mixin selector named addHeight
Lnet/minecraft/client/render/block/FluidRenderer;addHeight([FF)V
intermediary method_40080
Lnet/minecraft/class_775;method_40080([FF)V
official a
Lgfu;a([FF)V
-
getFluidHeight
- Mappings:
Namespace Name Mixin selector named getFluidHeight
Lnet/minecraft/client/render/block/FluidRenderer;getFluidHeight(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/util/math/BlockPos;)F
intermediary method_40078
Lnet/minecraft/class_775;method_40078(Lnet/minecraft/class_1920;Lnet/minecraft/class_3611;Lnet/minecraft/class_2338;)F
official a
Lgfu;a(Ldbz;Lepd;Ljd;)F
-
getFluidHeight
private float getFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) - Mappings:
Namespace Name Mixin selector named getFluidHeight
Lnet/minecraft/client/render/block/FluidRenderer;getFluidHeight(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)F
intermediary method_40079
Lnet/minecraft/class_775;method_40079(Lnet/minecraft/class_1920;Lnet/minecraft/class_3611;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;)F
official a
Lgfu;a(Ldbz;Lepd;Ljd;Ldtc;Lepe;)F
-
vertex
private void vertex(VertexConsumer vertexConsumer, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, int int2) - Mappings:
Namespace Name Mixin selector named vertex
Lnet/minecraft/client/render/block/FluidRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;FFFFFFFFI)V
intermediary method_23072
Lnet/minecraft/class_775;method_23072(Lnet/minecraft/class_4588;FFFFFFFFI)V
official a
Lgfu;a(Lfbm;FFFFFFFFI)V
-
getLight
- Mappings:
Namespace Name Mixin selector named getLight
Lnet/minecraft/client/render/block/FluidRenderer;getLight(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;)I
intermediary method_3343
Lnet/minecraft/class_775;method_3343(Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;)I
official a
Lgfu;a(Ldbz;Ljd;)I
-