Archived
0

Merge branch 'proto_1.12.2' into world

This commit is contained in:
2018-10-08 12:23:52 +03:00
82 changed files with 1854 additions and 802 deletions

View File

@@ -1,4 +1,3 @@
group 'mc'
version '1.0-SNAPSHOT'
dependencies {

View File

@@ -20,6 +20,8 @@ import java.util.List;
@Slf4j
public class SimpleWorld implements World {
@Getter
private final String name = "flat";
@Getter
private final WorldType worldType = WorldType.FLAT;
private EntityLocation spawn;
@@ -38,7 +40,7 @@ public class SimpleWorld implements World {
@Override
public void setSpawn(double x, double y, double z, float yaw, float pitch) {
this.spawn = new EntityLocation(x, y, z, yaw, pitch, this);
this.spawn = new EntityLocation(x, y, z, yaw, pitch);
}
@Override