Class FluidRenderer
java.lang.Object
net.minecraft.client.render.block.FluidRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/block/FluidRendererintermediary net/minecraft/class_775official gei
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddHeight(float[] weightedAverageHeight, float height) private floatcalculateFluidHeight(BlockRenderView world, Fluid fluid, float originHeight, float northSouthHeight, float eastWestHeight, BlockPos pos) private floatgetFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos) private floatgetFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) private intgetLight(BlockRenderView world, BlockPos pos) private static booleanisOppositeSideCovered(BlockView world, BlockPos pos, BlockState state, Direction direction) private static booleanisSameFluid(FluidState a, FluidState b) private static booleanisSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation, BlockState state) private static booleanisSideCovered(BlockView world, Direction direction, float height, BlockPos pos, BlockState state) protected voidvoidrender(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) static booleanshouldRenderSide(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction, FluidState neighborFluidState) 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:
- Mappings:
Namespace Name Mixin selector named field_32781Lnet/minecraft/client/render/block/FluidRenderer;field_32781:Fintermediary field_32781Lnet/minecraft/class_775;field_32781:Fofficial aLgei;a:F
-
lavaSprites
- Mappings:
Namespace Name Mixin selector named lavaSpritesLnet/minecraft/client/render/block/FluidRenderer;lavaSprites:[Lnet/minecraft/client/texture/Sprite;intermediary field_4165Lnet/minecraft/class_775;field_4165:[Lnet/minecraft/class_1058;official bLgei;b:[Lgoy;
-
waterSprites
- Mappings:
Namespace Name Mixin selector named waterSpritesLnet/minecraft/client/render/block/FluidRenderer;waterSprites:[Lnet/minecraft/client/texture/Sprite;intermediary field_4166Lnet/minecraft/class_775;field_4166:[Lnet/minecraft/class_1058;official cLgei;c:[Lgoy;
-
waterOverlaySprite
- Mappings:
Namespace Name Mixin selector named waterOverlaySpriteLnet/minecraft/client/render/block/FluidRenderer;waterOverlaySprite:Lnet/minecraft/client/texture/Sprite;intermediary field_4164Lnet/minecraft/class_775;field_4164:Lnet/minecraft/class_1058;official dLgei;d:Lgoy;
-
-
Constructor Details
-
FluidRenderer
public FluidRenderer()
-
-
Method Details
-
onResourceReload
protected void onResourceReload()- Mappings:
Namespace Name Mixin selector named onResourceReloadLnet/minecraft/client/render/block/FluidRenderer;onResourceReload()Vintermediary method_3345Lnet/minecraft/class_775;method_3345()Vofficial aLgei;a()V
-
isSameFluid
- Mappings:
Namespace Name Mixin selector named isSameFluidLnet/minecraft/client/render/block/FluidRenderer;isSameFluid(Lnet/minecraft/fluid/FluidState;Lnet/minecraft/fluid/FluidState;)Zintermediary method_3348Lnet/minecraft/class_775;method_3348(Lnet/minecraft/class_3610;Lnet/minecraft/class_3610;)Zofficial aLgei;a(Lenu;Lenu;)Z
-
isSideCovered
private static boolean isSideCovered(BlockView world, Direction direction, float height, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector named isSideCoveredLnet/minecraft/client/render/block/FluidRenderer;isSideCovered(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/Direction;FLnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Zintermediary method_29710Lnet/minecraft/class_775;method_29710(Lnet/minecraft/class_1922;Lnet/minecraft/class_2350;FLnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Zofficial aLgei;a(Ldbd;Lje;FLiz;Ldsb;)Z
-
isSideCovered
private static boolean isSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation, BlockState state) - Mappings:
Namespace Name Mixin selector named isSideCoveredLnet/minecraft/client/render/block/FluidRenderer;isSideCovered(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FLnet/minecraft/block/BlockState;)Zintermediary method_3344Lnet/minecraft/class_775;method_3344(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;FLnet/minecraft/class_2680;)Zofficial aLgei;a(Ldbd;Liz;Lje;FLdsb;)Z
-
isOppositeSideCovered
private static boolean isOppositeSideCovered(BlockView world, BlockPos pos, BlockState state, Direction direction) - Mappings:
Namespace Name Mixin selector named isOppositeSideCoveredLnet/minecraft/client/render/block/FluidRenderer;isOppositeSideCovered(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Zintermediary method_29709Lnet/minecraft/class_775;method_29709(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Zofficial aLgei;a(Ldbd;Liz;Ldsb;Lje;)Z
-
shouldRenderSide
public static boolean shouldRenderSide(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction, FluidState neighborFluidState) - Mappings:
Namespace Name Mixin selector named shouldRenderSideLnet/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;)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;Lnet/minecraft/class_3610;)Zofficial aLgei;a(Ldba;Liz;Lenu;Ldsb;Lje;Lenu;)Z
-
render
public void render(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) - Mappings:
Namespace Name Mixin selector named renderLnet/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;)Vintermediary method_3347Lnet/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;)Vofficial aLgei;a(Ldba;Liz;Lfab;Ldsb;Lenu;)V
-
calculateFluidHeight
private float calculateFluidHeight(BlockRenderView world, Fluid fluid, float originHeight, float northSouthHeight, float eastWestHeight, BlockPos pos) - Mappings:
Namespace Name Mixin selector named calculateFluidHeightLnet/minecraft/client/render/block/FluidRenderer;calculateFluidHeight(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/fluid/Fluid;FFFLnet/minecraft/util/math/BlockPos;)Fintermediary method_40077Lnet/minecraft/class_775;method_40077(Lnet/minecraft/class_1920;Lnet/minecraft/class_3611;FFFLnet/minecraft/class_2338;)Fofficial aLgei;a(Ldba;Lent;FFFLiz;)F
-
addHeight
private void addHeight(float[] weightedAverageHeight, float height) - Mappings:
Namespace Name Mixin selector named addHeightLnet/minecraft/client/render/block/FluidRenderer;addHeight([FF)Vintermediary method_40080Lnet/minecraft/class_775;method_40080([FF)Vofficial aLgei;a([FF)V
-
getFluidHeight
- Mappings:
Namespace Name Mixin selector named getFluidHeightLnet/minecraft/client/render/block/FluidRenderer;getFluidHeight(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/fluid/Fluid;Lnet/minecraft/util/math/BlockPos;)Fintermediary method_40078Lnet/minecraft/class_775;method_40078(Lnet/minecraft/class_1920;Lnet/minecraft/class_3611;Lnet/minecraft/class_2338;)Fofficial aLgei;a(Ldba;Lent;Liz;)F
-
getFluidHeight
private float getFluidHeight(BlockRenderView world, Fluid fluid, BlockPos pos, BlockState blockState, FluidState fluidState) - Mappings:
Namespace Name Mixin selector named getFluidHeightLnet/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;)Fintermediary method_40079Lnet/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;)Fofficial aLgei;a(Ldba;Lent;Liz;Ldsb;Lenu;)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 named vertexLnet/minecraft/client/render/block/FluidRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;DDDFFFFFI)Vintermediary method_23072Lnet/minecraft/class_775;method_23072(Lnet/minecraft/class_4588;DDDFFFFFI)Vofficial aLgei;a(Lfab;DDDFFFFFI)V
-
getLight
- Mappings:
Namespace Name Mixin selector named getLightLnet/minecraft/client/render/block/FluidRenderer;getLight(Lnet/minecraft/world/BlockRenderView;Lnet/minecraft/util/math/BlockPos;)Iintermediary method_3343Lnet/minecraft/class_775;method_3343(Lnet/minecraft/class_1920;Lnet/minecraft/class_2338;)Iofficial aLgei;a(Ldba;Liz;)I
-