added igloos to 1.8.9 test world
parent
d70a86e70f
commit
6472621507
|
@ -22,7 +22,12 @@ public enum DefaultTestWorldDirectoryDeclaration {
|
|||
return INSTANCE.declaration;
|
||||
}
|
||||
|
||||
private static final int MINIMAL_NUMBER_OF_COORDINATES = 5;
|
||||
/**
|
||||
* This should always be 0. Only change it when trying to find a good test
|
||||
* world.
|
||||
*/
|
||||
private static final int MINIMAL_NUMBER_OF_COORDINATES = 0;
|
||||
|
||||
private static final int OVERWORLD_FRAGMENTS_AROUND_ORIGIN = 10;
|
||||
private static final int END_FRAGMENTS_AROUND_ORIGIN = 4;
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ public enum TestWorldDeclaration {
|
|||
TestWorldEntryNames.WITCH_HUTS,
|
||||
TestWorldEntryNames.JUNGLE_TEMPLES,
|
||||
TestWorldEntryNames.DESERT_TEMPLES,
|
||||
TestWorldEntryNames.IGLOOS,
|
||||
TestWorldEntryNames.MINESHAFTS,
|
||||
TestWorldEntryNames.OCEAN_MONUMENTS,
|
||||
TestWorldEntryNames.NETHER_FORTRESSES,
|
||||
|
|
|
@ -6,6 +6,7 @@ import java.util.function.Function;
|
|||
|
||||
import amidst.documentation.GsonConstructor;
|
||||
import amidst.documentation.Immutable;
|
||||
import amidst.logging.Log;
|
||||
import amidst.mojangapi.mocking.FragmentCornerWalker;
|
||||
import amidst.mojangapi.mocking.NameFilteredWorldIconCollector;
|
||||
import amidst.mojangapi.world.World;
|
||||
|
@ -37,8 +38,7 @@ public class CoordinatesCollectionJson {
|
|||
additionalDataFactory.apply(corner)));
|
||||
long[][] coordinatesArray = createArray(consumer.get());
|
||||
if (coordinatesArray.length < minimalNumberOfCoordinates) {
|
||||
throw new RuntimeException("not enough coordinates for '" + name
|
||||
+ "'");
|
||||
Log.e("not enough coordinates for '" + name + "'");
|
||||
}
|
||||
return new CoordinatesCollectionJson(coordinatesArray);
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue