diff --git a/mappings/net/minecraft/fluid/Fluid.mapping b/mappings/net/minecraft/fluid/Fluid.mapping index 55752017e2..e8295585a6 100644 --- a/mappings/net/minecraft/fluid/Fluid.mapping +++ b/mappings/net/minecraft/fluid/Fluid.mapping @@ -27,10 +27,17 @@ CLASS net/minecraft/class_3611 net/minecraft/fluid/Fluid ARG 1 fluid METHOD method_15781 setDefaultState (Lnet/minecraft/class_3610;)V ARG 1 state - METHOD method_15782 getVelocity (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;)Lnet/minecraft/class_243; + METHOD method_15782 getFlowDirectionVector (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3610;)Lnet/minecraft/class_243; + COMMENT {@return a 3D vector indicating the direction the given fluid state will flow towards} + COMMENT + COMMENT

Example: a return of {@code (0, 0, -1)} means the given {@link FluidState} will flow towards negative-Z in the game which is towards the North. + COMMENT Likewise {@code (0, 0, 1)} means the given {@link FluidState} will flow towards positive-Z in the game which is South. ARG 1 world + COMMENT the world that will be queried for the fluid states around the fluid state whose direction of flow is desired ARG 2 pos + COMMENT the {@link BlockPos} containing the position of the fluid state whose direction of flow is desired ARG 3 state + COMMENT the {@link FluidState} whose direction of flow is desired to be known METHOD method_15783 getStateManager ()Lnet/minecraft/class_2689; METHOD method_15784 getBlastResistance ()F METHOD method_15785 getDefaultState ()Lnet/minecraft/class_3610; diff --git a/mappings/net/minecraft/fluid/FluidState.mapping b/mappings/net/minecraft/fluid/FluidState.mapping index 3a44052f97..c608401275 100644 --- a/mappings/net/minecraft/fluid/FluidState.mapping +++ b/mappings/net/minecraft/fluid/FluidState.mapping @@ -11,7 +11,7 @@ CLASS net/minecraft/class_3610 net/minecraft/fluid/FluidState ARG 1 world ARG 2 pos ARG 3 random - METHOD method_15758 getVelocity (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_243; + METHOD method_15758 getFlowDirectionVector (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_243; ARG 1 world ARG 2 pos METHOD method_15759 getBlockState ()Lnet/minecraft/class_2680;