Class FluidRenderer
java.lang.Object
net.minecraft.client.render.block.FluidRenderer
- Mappings:
Namespace Name official erk
intermediary net/minecraft/class_775
named net/minecraft/client/render/block/FluidRenderer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
getLight
(BlockRenderView world, BlockPos pos) private static boolean
isOppositeSideCovered
(BlockView world, BlockPos pos, BlockState state, Direction direction) private static boolean
isSameFluid
(FluidState fluidState, FluidState fluidState2) private static boolean
isSideCovered
(BlockView blockView, BlockPos blockPos, Direction direction, float maxDeviation, BlockState blockState) private static boolean
isSideCovered
(BlockView world, Direction direction, float float2, BlockPos pos, BlockState state) private float
method_40077
(BlockRenderView blockRenderView, Fluid fluid, float float2, float float3, float float4, BlockPos blockPos) private float
method_40078
(BlockRenderView blockRenderView, Fluid fluid, BlockPos blockPos) private float
method_40079
(BlockRenderView blockRenderView, Fluid fluid, BlockPos blockPos, BlockState blockState, FluidState fluidState) private void
method_40080
(float[] float2, float float3) protected void
boolean
render
(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) static boolean
shouldRenderSide
(BlockRenderView world, BlockPos blockPos, FluidState fluidState, BlockState blockState, Direction direction, FluidState fluidState2) private void
vertex
(VertexConsumer vertexConsumer, double x, double y, double z, float red, float green, float blue, float u, float v, int light)
-
Field Details
-
field_32781
private static final float field_32781- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lerk;a:F
intermediary field_32781
Lnet/minecraft/class_775;field_32781:F
named field_32781
Lnet/minecraft/client/render/block/FluidRenderer;field_32781:F
-
lavaSprites
- Mappings:
Namespace Name Mixin selector official b
Lerk;b:[Lfay;
intermediary field_4165
Lnet/minecraft/class_775;field_4165:[Lnet/minecraft/class_1058;
named lavaSprites
Lnet/minecraft/client/render/block/FluidRenderer;lavaSprites:[Lnet/minecraft/client/texture/Sprite;
-
waterSprites
- Mappings:
Namespace Name Mixin selector official c
Lerk;c:[Lfay;
intermediary field_4166
Lnet/minecraft/class_775;field_4166:[Lnet/minecraft/class_1058;
named waterSprites
Lnet/minecraft/client/render/block/FluidRenderer;waterSprites:[Lnet/minecraft/client/texture/Sprite;
-
waterOverlaySprite
- Mappings:
Namespace Name Mixin selector official d
Lerk;d:Lfay;
intermediary field_4164
Lnet/minecraft/class_775;field_4164:Lnet/minecraft/class_1058;
named waterOverlaySprite
Lnet/minecraft/client/render/block/FluidRenderer;waterOverlaySprite:Lnet/minecraft/client/texture/Sprite;
-
-
Constructor Details
-
FluidRenderer
public FluidRenderer()
-
-
Method Details
-
onResourceReload
protected void onResourceReload()- Mappings:
Namespace Name Mixin selector official a
Lerk;a()V
intermediary method_3345
Lnet/minecraft/class_775;method_3345()V
named onResourceReload
Lnet/minecraft/client/render/block/FluidRenderer;onResourceReload()V
-
isSameFluid
- Mappings:
Namespace Name Mixin selector official a
Lerk;a(Ldix;Ldix;)Z
intermediary method_3348
Lnet/minecraft/class_775;method_3348(Lnet/minecraft/class_3610;Lnet/minecraft/class_3610;)Z
named isSameFluid
Lnet/minecraft/client/render/block/FluidRenderer;isSameFluid(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FluidState;)Z
-
isSideCovered
private static boolean isSideCovered(BlockView world, Direction direction, float float2, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector official a
Lerk;a(Lcab;Lgo;FLgj;Lcov;)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
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
-
isSideCovered
private static boolean isSideCovered(BlockView blockView, BlockPos blockPos, Direction direction, float maxDeviation, BlockState blockState) - Mappings:
Namespace Name Mixin selector official a
Lerk;a(Lcab;Lgj;Lgo;FLcov;)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
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
-
isOppositeSideCovered
private static boolean isOppositeSideCovered(BlockView world, BlockPos pos, BlockState state, Direction direction) - Mappings:
Namespace Name Mixin selector official a
Lerk;a(Lcab;Lgj;Lcov;Lgo;)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
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
-
shouldRenderSide
public static boolean shouldRenderSide(BlockRenderView world, BlockPos blockPos, FluidState fluidState, BlockState blockState, Direction direction, FluidState fluidState2) - Mappings:
Namespace Name Mixin selector official a
Lerk;a(Lbzy;Lgj;Ldix;Lcov;Lgo;Ldix;)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
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
-
render
public boolean render(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) - Mappings:
Namespace Name Mixin selector official a
Lerk;a(Lbzy;Lgj;Ldtq;Lcov;Ldix;)Z
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;)Z
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;)Z
-
method_40077
private float method_40077(BlockRenderView blockRenderView, Fluid fluid, float float2, float float3, float float4, BlockPos blockPos) - Mappings:
Namespace Name Mixin selector official a
Lerk;a(Lbzy;Ldiw;FFFLgj;)F
intermediary method_40077
Lnet/minecraft/class_775;method_40077(Lnet/minecraft/class_1920;Lnet/minecraft/class_3611;FFFLnet/minecraft/class_2338;)F
named method_40077
Lnet/minecraft/client/render/block/FluidRenderer;method_40077(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/fluid/Fluid;FFFLnet/minecraft/util/math/BlockPos;)F
-
method_40080
private void method_40080(float[] float2, float float3) - Mappings:
Namespace Name Mixin selector official a
Lerk;a([FF)V
intermediary method_40080
Lnet/minecraft/class_775;method_40080([FF)V
named method_40080
Lnet/minecraft/client/render/block/FluidRenderer;method_40080([FF)V
-
method_40078
- Mappings:
Namespace Name Mixin selector official a
Lerk;a(Lbzy;Ldiw;Lgj;)F
intermediary method_40078
Lnet/minecraft/class_775;method_40078(Lnet/minecraft/class_1920;Lnet/minecraft/class_3611;Lnet/minecraft/class_2338;)F
named method_40078
Lnet/minecraft/client/render/block/FluidRenderer;method_40078(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/util/math/BlockPos;)F
-
method_40079
private float method_40079(BlockRenderView blockRenderView, Fluid fluid, BlockPos blockPos, BlockState blockState, FluidState fluidState) - Mappings:
Namespace Name Mixin selector official a
Lerk;a(Lbzy;Ldiw;Lgj;Lcov;Ldix;)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
named method_40079
Lnet/minecraft/client/render/block/FluidRenderer;method_40079(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)F
-
vertex
private void vertex(VertexConsumer vertexConsumer, double x, double y, double z, float red, float green, float blue, float u, float v, int light) - Mappings:
Namespace Name Mixin selector official a
Lerk;a(Ldtq;DDDFFFFFI)V
intermediary method_23072
Lnet/minecraft/class_775;method_23072(Lnet/minecraft/class_4588;DDDFFFFFI)V
named vertex
Lnet/minecraft/client/render/block/FluidRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;DDDFFFFFI)V
-
getLight
- Mappings:
Namespace Name Mixin selector official a
Lerk;a(Lbzy;Lgj;)I
intermediary method_3343
Lnet/minecraft/class_775;method_3343(Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;)I
named getLight
Lnet/minecraft/client/render/block/FluidRenderer;getLight(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;)I
-