chore: add @reason javadoc to @Overwrite
This commit is contained in:
parent
e83d98fdec
commit
8409042838
|
@ -12,11 +12,19 @@ public abstract class MathHelperMixin {
|
|||
@Shadow public static int floor(double value) { return 0; }
|
||||
@Shadow public static double nextDouble(Random random, double min, double max) { return 0; }
|
||||
|
||||
/**
|
||||
* @author JFronny
|
||||
* @reason Reduce precision
|
||||
*/
|
||||
@Overwrite
|
||||
public static long lfloor(double d) {
|
||||
return (long) (Math.floor(d / 4) * 4);
|
||||
}
|
||||
|
||||
/**
|
||||
* @author JFronny
|
||||
* @reason Introduce variation
|
||||
*/
|
||||
@Overwrite
|
||||
public static double absMax(double d, double e) {
|
||||
if (d > 0.0D) {
|
||||
|
|
Loading…
Reference in New Issue