mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Add fabric builds for older MC versions & add checkstyle (#449)
* Remove instance getters, improve command logic, register APi * Publish multiple fabric builds, enforce checkstyle * Bump guava * Bump to 4.4.2
This commit is contained in:
1 parent
51baf196b3
commit
c9f5262292
219 files changed
+8032
-1392
No files matched your search
@@ -36,10 +36,10 @@ import java.util.UUID;
|
||||
@DisplayName("Normal Distribution Tests")
|
||||
public class NormalDistributionTests {
|
||||
|
||||
private final static float MEAN = 0.75f;
|
||||
private final static float STANDARD_DEVIATION = 2f;
|
||||
private final static float SPAWN_RADIUS = 500f;
|
||||
private final static float MAX_RADIUS = 3000f;
|
||||
private static final float MEAN = 0.75f;
|
||||
private static final float STANDARD_DEVIATION = 2f;
|
||||
private static final float SPAWN_RADIUS = 500f;
|
||||
private static final float MAX_RADIUS = 3000f;
|
||||
|
||||
@Test
|
||||
@DisplayName("Test Point Generation")
|
||||
@@ -59,14 +59,14 @@ public class NormalDistributionTests {
|
||||
}
|
||||
|
||||
/**
|
||||
* Plots location distribution to an image for testing
|
||||
* Plots location distribution to an image for testing.
|
||||
*/
|
||||
public static class DistributionModeller {
|
||||
|
||||
/**
|
||||
* Plot a demo of the normal distribution algorithm
|
||||
* Plot a demo of the normal distribution algorithm.
|
||||
*
|
||||
* @param args file path to save image to
|
||||
* @param args path to save image to
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public static void main(String[] args) {
|
||||
@@ -95,7 +95,7 @@ public class NormalDistributionTests {
|
||||
|
||||
plot.save(output.getAbsolutePath(), "png");
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user