2016-11-17 05:45:04 +01:00
|
|
|
package com.minelittlepony;
|
2015-08-02 00:36:33 +02:00
|
|
|
|
2015-11-17 06:17:35 +01:00
|
|
|
import com.google.gson.annotations.Expose;
|
|
|
|
import com.mumfrey.liteloader.modconfig.ConfigStrategy;
|
2016-01-26 09:16:11 +01:00
|
|
|
import com.mumfrey.liteloader.modconfig.Exposable;
|
2015-11-17 06:17:35 +01:00
|
|
|
import com.mumfrey.liteloader.modconfig.ExposableOptions;
|
|
|
|
|
|
|
|
@ExposableOptions(filename = "minelittlepony", strategy = ConfigStrategy.Unversioned)
|
2016-01-26 09:16:11 +01:00
|
|
|
public class PonyConfig implements Exposable {
|
2015-11-17 06:17:35 +01:00
|
|
|
|
|
|
|
@Expose
|
2016-01-26 09:16:11 +01:00
|
|
|
private PonyLevel ponylevel = PonyLevel.PONIES;
|
2015-11-17 06:17:35 +01:00
|
|
|
@Expose
|
2016-01-26 09:16:11 +01:00
|
|
|
public boolean sizes = true;
|
2015-11-17 06:17:35 +01:00
|
|
|
@Expose
|
2016-01-26 09:16:11 +01:00
|
|
|
public boolean snuzzles = true;
|
2015-11-17 06:17:35 +01:00
|
|
|
@Expose
|
2016-01-26 09:16:11 +01:00
|
|
|
public boolean hd = true;
|
2015-11-17 06:17:35 +01:00
|
|
|
@Expose
|
2016-01-26 09:16:11 +01:00
|
|
|
public boolean showscale = true;
|
2015-11-17 06:17:35 +01:00
|
|
|
@Expose
|
2016-01-26 09:16:11 +01:00
|
|
|
public boolean villagers = true;
|
2015-11-17 06:17:35 +01:00
|
|
|
@Expose
|
2016-01-26 09:16:11 +01:00
|
|
|
public boolean zombies = true;
|
2015-11-17 06:17:35 +01:00
|
|
|
@Expose
|
2016-01-26 09:16:11 +01:00
|
|
|
public boolean pigzombies = true;
|
2016-01-19 06:34:07 +01:00
|
|
|
@Expose
|
2016-01-26 09:16:11 +01:00
|
|
|
public boolean skeletons = true;
|
2015-11-17 06:17:35 +01:00
|
|
|
|
2016-01-26 09:16:11 +01:00
|
|
|
public PonyLevel getPonyLevel() {
|
|
|
|
if (ponylevel == null)
|
|
|
|
ponylevel = PonyLevel.PONIES;
|
2015-11-17 06:17:35 +01:00
|
|
|
return ponylevel;
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|
|
|
|
|
2016-01-26 09:16:11 +01:00
|
|
|
public void setPonyLevel(PonyLevel ponylevel) {
|
|
|
|
if (ponylevel == null)
|
|
|
|
ponylevel = PonyLevel.PONIES;
|
|
|
|
this.ponylevel = ponylevel;
|
2015-11-17 06:17:35 +01:00
|
|
|
}
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|