MineLittlePony/src/main/java/com/brohoof/minelittlepony/PonyConfig.java

42 lines
1.1 KiB
Java
Raw Normal View History

2015-11-17 06:09:04 +01:00
package com.brohoof.minelittlepony;
2015-08-02 00:36:33 +02: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;
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 {
@Expose
2016-01-26 09:16:11 +01:00
private PonyLevel ponylevel = PonyLevel.PONIES;
@Expose
2016-01-26 09:16:11 +01:00
public boolean sizes = true;
@Expose
2016-01-26 09:16:11 +01:00
public boolean snuzzles = true;
@Expose
2016-01-26 09:16:11 +01:00
public boolean hd = true;
@Expose
2016-01-26 09:16:11 +01:00
public boolean showscale = true;
@Expose
2016-01-26 09:16:11 +01:00
public boolean villagers = true;
@Expose
2016-01-26 09:16:11 +01:00
public boolean zombies = true;
@Expose
2016-01-26 09:16:11 +01:00
public boolean pigzombies = true;
@Expose
2016-01-26 09:16:11 +01:00
public boolean skeletons = true;
2016-01-26 09:16:11 +01:00
public PonyLevel getPonyLevel() {
if (ponylevel == null)
ponylevel = PonyLevel.PONIES;
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-08-02 00:36:33 +02:00
}