mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 06:47:27 +00:00
deprecate MathHelper. Use MathUtil instead
This commit is contained in:
1 file changed
+6
-2
@@ -20,12 +20,16 @@
|
||||
*/
|
||||
package com.falsepattern.lib.compat;
|
||||
|
||||
import com.falsepattern.lib.DeprecationDetails;
|
||||
import com.falsepattern.lib.util.MathUtil;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* This is here because the real MathHelper has some of its methods only present in clientside, some of which we
|
||||
* actually DO need in serverside.
|
||||
* Alert: This class will be removed in 0.11, migrate to {@link MathUtil}!
|
||||
*/
|
||||
@Deprecated
|
||||
@DeprecationDetails(deprecatedSince = "0.10.0")
|
||||
public class MathHelper {
|
||||
/**
|
||||
* Though it looks like an array, this is really more like a mapping. Key (index of this array) is the upper 5 bits
|
||||
|
||||
Reference in new issue
Block a user