Class FluidRenderer

java.lang.Object
net.minecraft.client.render.block.FluidRenderer

@Environment(CLIENT) public class FluidRenderer extends Object
Mappings:
Namespace Name
official enz
intermediary net/minecraft/class_775
named net/minecraft/client/render/block/FluidRenderer
  • Field Details

    • field_32781

      private static final float field_32781
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lenz;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

      private final Sprite[] lavaSprites
      Mappings:
      Namespace Name Mixin selector
      official b Lenz;b:[Lexl;
      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

      private final Sprite[] waterSprites
      Mappings:
      Namespace Name Mixin selector
      official c Lenz;c:[Lexl;
      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

      private Sprite waterOverlaySprite
      Mappings:
      Namespace Name Mixin selector
      official d Lenz;d:Lexl;
      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 Lenz;a()V
      intermediary method_3345 Lnet/minecraft/class_775;method_3345()V
      named onResourceReload Lnet/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 a Lenz;a(Lbvt;Lgg;Lgl;Ldes;)Z
      intermediary method_3348 Lnet/minecraft/class_775;method_3348(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_3610;)Z
      named isSameFluid Lnet/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 a Lenz;a(Lbvt;Lgl;FLgg;Lcks;)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 method_29710 Lnet/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 a Lenz;a(Lbvt;Lgg;Lgl;F)Z
      intermediary method_3344 Lnet/minecraft/class_775;method_3344(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;F)Z
      named isSideCovered Lnet/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 a Lenz;a(Lbvt;Lgg;Lcks;Lgl;)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 method_29709 Lnet/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 a Lenz;a(Lbvr;Lgg;Ldes;Lcks;Lgl;)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;)Z
      named method_29708 Lnet/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 a Lenz;a(Lbvr;Lgg;Ldqo;Ldes;)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_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/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 a Lenz;a(Ldqo;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

      private int getLight(BlockRenderView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lenz;a(Lbvr;Lgg;)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
    • getNorthWestCornerFluidHeight

      private float getNorthWestCornerFluidHeight(BlockView world, BlockPos pos, Fluid fluid)
      Mappings:
      Namespace Name Mixin selector
      official a Lenz;a(Lbvt;Lgg;Lder;)F
      intermediary method_3346 Lnet/minecraft/class_775;method_3346(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)F
      named getNorthWestCornerFluidHeight Lnet/minecraft/client/render/block/FluidRenderer;getNorthWestCornerFluidHeight(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)F