27public enum CompostType {
28 NONE(-1, 100, 1.00, 0),
29 COMPOST(6032, 110, 0.60, 18),
30 SUPERCOMPOST(6034, 115, 0.30, 26),
31 ULTRACOMPOST(21483, 120, 0.10, 32);
33 private final int item;
34 private final int produceIncrease;
35 private final double protection;
36 private final double exp;
38 CompostType(
int item,
int produceIncrease,
double protection,
double exp) {
40 this.produceIncrease = produceIncrease;
41 this.protection = protection;
45 public double getProtection() {
49 public double getExp() {
53 public static CompostType forItem(
int item) {
54 for (CompostType type : values()) {
55 if (type.item == item) {
62 public int produceIncrease() {
63 return produceIncrease;