World info saving
This commit is contained in:
@@ -8,6 +8,8 @@ import com.flowpowered.nbt.Tag;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import mc.core.Location;
|
||||
import mc.core.WarpPosition;
|
||||
import mc.core.player.Look;
|
||||
import mc.core.world.*;
|
||||
|
||||
import java.util.UUID;
|
||||
@@ -17,10 +19,12 @@ public class FlatWorld implements World {
|
||||
|
||||
@Getter@Setter
|
||||
private UUID worldId = UUID.fromString("00000000-0000-0000-C000-000000000046");
|
||||
@Getter@Setter
|
||||
private String name;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
private Location spawn = new Location(0, 6, 0);
|
||||
private WarpPosition spawn = new WarpPosition(new Location(0, 6, 0), new Look(0, 0));
|
||||
private Chunk chunk = new SimpleChunk();
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user