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 gkb
-
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(BlockState blockState, Direction direction) private static booleanisSameFluid(FluidState a, FluidState b) private static booleanisSideCovered(Direction direction, float float2, BlockState blockState) private static booleanmethod_3344(Direction direction, float float2, BlockState blockState) protected voidvoidrender(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, BlockState blockState, FluidState fluidState) static booleanshouldRenderSide(FluidState fluidState, BlockState blockState, Direction direction, FluidState fluidState2) private voidvertex(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_32781Lnet/minecraft/client/render/block/FluidRenderer;field_32781:Fintermediary field_32781Lnet/minecraft/class_775;field_32781:Fofficial aLgkb;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 bLgkb;b:[Lgyt;
-
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 cLgkb;c:[Lgyt;
-
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 dLgkb;d:Lgyt;
-
-
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 aLgkb;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 aLgkb;a(Lero;Lero;)Z
-
isSideCovered
- Mappings:
Namespace Name Mixin selector named isSideCoveredLnet/minecraft/client/render/block/FluidRenderer;isSideCovered(Lnet/minecraft/util/math/Direction;FLnet/minecraft/block/BlockState;)Zintermediary method_29710Lnet/minecraft/class_775;method_29710(Lnet/minecraft/class_2350;FLnet/minecraft/class_2680;)Zofficial aLgkb;a(Ljm;FLdvo;)Z
-
method_3344
- Mappings:
Namespace Name Mixin selector named method_3344Lnet/minecraft/client/render/block/FluidRenderer;method_3344(Lnet/minecraft/util/math/Direction;FLnet/minecraft/block/BlockState;)Zintermediary method_3344Lnet/minecraft/class_775;method_3344(Lnet/minecraft/class_2350;FLnet/minecraft/class_2680;)Zofficial bLgkb;b(Ljm;FLdvo;)Z
-
isOppositeSideCovered
- Mappings:
Namespace Name Mixin selector named isOppositeSideCoveredLnet/minecraft/client/render/block/FluidRenderer;isOppositeSideCovered(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Zintermediary method_29709Lnet/minecraft/class_775;method_29709(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Zofficial aLgkb;a(Ldvo;Ljm;)Z
-
shouldRenderSide
public static boolean shouldRenderSide(FluidState fluidState, BlockState blockState, Direction direction, FluidState fluidState2) - Mappings:
Namespace Name Mixin selector named shouldRenderSideLnet/minecraft/client/render/block/FluidRenderer;shouldRenderSide(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_3610;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_3610;)Zofficial aLgkb;a(Lero;Ldvo;Ljm;Lero;)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 aLgkb;a(Ldeh;Ljh;Lfeo;Ldvo;Lero;)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 aLgkb;a(Ldeh;Lern;FFFLjh;)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 aLgkb;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 aLgkb;a(Ldeh;Lern;Ljh;)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 aLgkb;a(Ldeh;Lern;Ljh;Ldvo;Lero;)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 vertexLnet/minecraft/client/render/block/FluidRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;FFFFFFFFI)Vintermediary method_23072Lnet/minecraft/class_775;method_23072(Lnet/minecraft/class_4588;FFFFFFFFI)Vofficial aLgkb;a(Lfeo;FFFFFFFFI)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 aLgkb;a(Ldeh;Ljh;)I
-