Class FluidRenderer
java.lang.Object
net.minecraft.client.render.block.FluidRenderer
- Mappings:
Namespace Name official enzintermediary net/minecraft/class_775named net/minecraft/client/render/block/FluidRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intgetLight(BlockRenderView world, BlockPos pos)private floatgetNorthWestCornerFluidHeight(BlockView world, BlockPos pos, Fluid fluid)private static booleanisSameFluid(BlockView world, BlockPos pos, Direction side, FluidState state)private static booleanisSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation)static booleanmethod_29708(BlockRenderView blockRenderView, BlockPos blockPos, FluidState fluidState, BlockState blockState, Direction direction)private static booleanmethod_29709(BlockView blockView, BlockPos blockPos, BlockState blockState, Direction direction)private static booleanmethod_29710(BlockView blockView, Direction direction, float float2, BlockPos blockPos, BlockState blockState)protected voidbooleanrender(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, FluidState state)private voidvertex(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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLenz;a:Fintermediary field_32781Lnet/minecraft/class_775;field_32781:Fnamed field_32781Lnet/minecraft/client/render/block/FluidRenderer;field_32781:F
-
lavaSprites
- Mappings:
Namespace Name Mixin selector official bLenz;b:[Lexl;intermediary field_4165Lnet/minecraft/class_775;field_4165:[Lnet/minecraft/class_1058;named lavaSpritesLnet/minecraft/client/render/block/FluidRenderer;lavaSprites:[Lnet/minecraft/client/texture/Sprite;
-
waterSprites
- Mappings:
Namespace Name Mixin selector official cLenz;c:[Lexl;intermediary field_4166Lnet/minecraft/class_775;field_4166:[Lnet/minecraft/class_1058;named waterSpritesLnet/minecraft/client/render/block/FluidRenderer;waterSprites:[Lnet/minecraft/client/texture/Sprite;
-
waterOverlaySprite
- Mappings:
Namespace Name Mixin selector official dLenz;d:Lexl;intermediary field_4164Lnet/minecraft/class_775;field_4164:Lnet/minecraft/class_1058;named waterOverlaySpriteLnet/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 aLenz;a()Vintermediary method_3345Lnet/minecraft/class_775;method_3345()Vnamed onResourceReloadLnet/minecraft/client/render/block/FluidRenderer;onResourceReload()V
-
isSameFluid
private static boolean isSameFluid(BlockView world, BlockPos pos, Direction side, FluidState state)- Mappings:
Namespace Name Mixin selector official aLenz;a(Lbvt;Lgg;Lgl;Ldes;)Zintermediary method_3348Lnet/minecraft/class_775;method_3348(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_3610;)Znamed isSameFluidLnet/minecraft/client/render/block/FluidRenderer;isSameFluid(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/fluid/FluidState;)Z
-
method_29710
private static boolean method_29710(BlockView blockView, Direction direction, float float2, BlockPos blockPos, BlockState blockState)- Mappings:
Namespace Name Mixin selector official aLenz;a(Lbvt;Lgl;FLgg;Lcks;)Zintermediary method_29710Lnet/minecraft/class_775;method_29710(Lnet/minecraft/class_1922;Lnet/minecraft/class_2350;FLnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed method_29710Lnet/minecraft/client/render/block/FluidRenderer;method_29710(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 world, BlockPos pos, Direction direction, float maxDeviation)- Mappings:
Namespace Name Mixin selector official aLenz;a(Lbvt;Lgg;Lgl;F)Zintermediary method_3344Lnet/minecraft/class_775;method_3344(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;F)Znamed isSideCoveredLnet/minecraft/client/render/block/FluidRenderer;isSideCovered(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;F)Z
-
method_29709
private static boolean method_29709(BlockView blockView, BlockPos blockPos, BlockState blockState, Direction direction)- Mappings:
Namespace Name Mixin selector official aLenz;a(Lbvt;Lgg;Lcks;Lgl;)Zintermediary method_29709Lnet/minecraft/class_775;method_29709(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Znamed method_29709Lnet/minecraft/client/render/block/FluidRenderer;method_29709(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
method_29708
public static boolean method_29708(BlockRenderView blockRenderView, BlockPos blockPos, FluidState fluidState, BlockState blockState, Direction direction)- Mappings:
Namespace Name Mixin selector official aLenz;a(Lbvr;Lgg;Ldes;Lcks;Lgl;)Zintermediary method_29708Lnet/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;)Znamed method_29708Lnet/minecraft/client/render/block/FluidRenderer;method_29708(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/FluidState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
render
public boolean render(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, FluidState state)- Mappings:
Namespace Name Mixin selector official aLenz;a(Lbvr;Lgg;Ldqo;Ldes;)Zintermediary method_3347Lnet/minecraft/class_775;method_3347(Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;Lnet/minecraft/class_4588;Lnet/minecraft/class_3610;)Znamed renderLnet/minecraft/client/render/block/FluidRenderer;render(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/fluid/FluidState;)Z
-
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 aLenz;a(Ldqo;DDDFFFFFI)Vintermediary method_23072Lnet/minecraft/class_775;method_23072(Lnet/minecraft/class_4588;DDDFFFFFI)Vnamed vertexLnet/minecraft/client/render/block/FluidRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;DDDFFFFFI)V
-
getLight
- Mappings:
Namespace Name Mixin selector official aLenz;a(Lbvr;Lgg;)Iintermediary method_3343Lnet/minecraft/class_775;method_3343(Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;)Inamed getLightLnet/minecraft/client/render/block/FluidRenderer;getLight(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;)I
-
getNorthWestCornerFluidHeight
- Mappings:
Namespace Name Mixin selector official aLenz;a(Lbvt;Lgg;Lder;)Fintermediary method_3346Lnet/minecraft/class_775;method_3346(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)Fnamed getNorthWestCornerFluidHeightLnet/minecraft/client/render/block/FluidRenderer;getNorthWestCornerFluidHeight(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)F
-