New API methods, refactor position object to use static creators

This commit is contained in:
William278 committed 2023-03-22 19:55:59 +00:00
1 parent 42adc13425
commit 6b8c515b61
42 files changed
+587 -232

No files matched your search

@@ -86,7 +86,7 @@ public class NormalDistributionTests {
final List<Location> locations = new ArrayList<>();
for (int i = 0; i < amount; i++) {
locations.add(NormalDistributionEngine.generateLocation(
new Location(0, 0, 0, 0, 0, new World("TestWorld", UUID.randomUUID())),
Location.at(0, 0, 0, 0, 0, World.from("TestWorld", UUID.randomUUID())),
MEAN, STANDARD_DEVIATION, SPAWN_RADIUS, MAX_RADIUS));
}
return locations;