Class FluidRenderer
java.lang.Object
net.minecraft.client.render.block.FluidRenderer
- Mappings:
Namespace Name official eqdintermediary 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 booleanisOppositeSideCovered(BlockView world, BlockPos pos, BlockState state, Direction direction) private static booleanisSameFluid(BlockView world, BlockPos pos, Direction side, FluidState state) private static booleanisSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation) private static booleanisSideCovered(BlockView world, Direction direction, float float2, BlockPos pos, BlockState state) protected voidbooleanrender(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, FluidState state) static booleanshouldRenderSide(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction) 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 official aLeqd;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 bLeqd;b:[Lezr;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 cLeqd;c:[Lezr;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 dLeqd;d:Lezr;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 aLeqd;a()Vintermediary method_3345Lnet/minecraft/class_775;method_3345()Vnamed onResourceReloadLnet/minecraft/client/render/block/FluidRenderer;onResourceReload()V
-
isSameFluid
- Mappings:
Namespace Name Mixin selector official aLeqd;a(Lbzj;Lgh;Lgm;Ldhv;)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
-
isSideCovered
private static boolean isSideCovered(BlockView world, Direction direction, float float2, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector official aLeqd;a(Lbzj;Lgm;FLgh;Lcoc;)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 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;)Z
-
isSideCovered
private static boolean isSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation) - Mappings:
Namespace Name Mixin selector official aLeqd;a(Lbzj;Lgh;Lgm;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
-
isOppositeSideCovered
private static boolean isOppositeSideCovered(BlockView world, BlockPos pos, BlockState state, Direction direction) - Mappings:
Namespace Name Mixin selector official aLeqd;a(Lbzj;Lgh;Lcoc;Lgm;)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 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;)Z
-
shouldRenderSide
public static boolean shouldRenderSide(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction) - Mappings:
Namespace Name Mixin selector official aLeqd;a(Lbzg;Lgh;Ldhv;Lcoc;Lgm;)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 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;)Z
-
render
public boolean render(BlockRenderView world, BlockPos pos, VertexConsumer vertexConsumer, FluidState state) - Mappings:
Namespace Name Mixin selector official aLeqd;a(Lbzg;Lgh;Ldsn;Ldhv;)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 aLeqd;a(Ldsn;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 aLeqd;a(Lbzg;Lgh;)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 aLeqd;a(Lbzj;Lgh;Ldhu;)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
-