31 lines
795 B
Java
31 lines
795 B
Java
|
|
package com.alttd.cometskyblock.configuration;
|
||
|
|
|
||
|
|
import lombok.Getter;
|
||
|
|
|
||
|
|
import org.spongepowered.configurate.objectmapping.ConfigSerializable;
|
||
|
|
import org.spongepowered.configurate.objectmapping.meta.Comment;
|
||
|
|
|
||
|
|
@ConfigSerializable
|
||
|
|
@Getter
|
||
|
|
@SuppressWarnings({"CanBeFinal", "FieldMayBeFinal"})
|
||
|
|
public class PluginConfiguration implements Configuration {
|
||
|
|
|
||
|
|
@Comment("Generate debug messages")
|
||
|
|
private boolean debug = true;
|
||
|
|
|
||
|
|
private MasterWorldGenerator masterWorldGenerator = new MasterWorldGenerator();
|
||
|
|
@ConfigSerializable @Getter
|
||
|
|
public static class MasterWorldGenerator {
|
||
|
|
|
||
|
|
private int centerX = 0;
|
||
|
|
private int centerZ = 0;
|
||
|
|
private int size = 100;
|
||
|
|
|
||
|
|
private int spawnX = 0;
|
||
|
|
private int spawnY = 63;
|
||
|
|
private int spawnz = 0;
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|