mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Fake world improvements
This commit is contained in:
parent
a48400535f
commit
0527066a4c
@ -29,17 +29,20 @@ import java.util.function.Predicate;
|
||||
public class FakeWorld implements World
|
||||
{
|
||||
private final int height;
|
||||
private final int minHeight;
|
||||
private final long seed;
|
||||
private final File worldFolder;
|
||||
private final Environment environment;
|
||||
@Setter
|
||||
private String worldName;
|
||||
|
||||
public FakeWorld(int height, long seed, File worldFolder, Environment environment)
|
||||
public FakeWorld(String name, int minHeight, int height, long seed, File worldFolder, Environment environment)
|
||||
{
|
||||
this.worldName = name;
|
||||
this.height = height;
|
||||
this.seed = seed;
|
||||
this.worldFolder = worldFolder;
|
||||
this.minHeight = minHeight;
|
||||
this.environment = environment;
|
||||
worldFolder.mkdirs();
|
||||
}
|
||||
@ -898,7 +901,7 @@ public class FakeWorld implements World
|
||||
}
|
||||
|
||||
@Override public int getMinHeight() {
|
||||
return 0;
|
||||
return minHeight;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user