ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/config/values/ConfigIntListValues.java
2017-01-01 16:23:27 +01:00

38 lines
1.4 KiB
Java

/*
* This file ("ConfigIntListValues.java") is part of the Actually Additions mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://ellpeck.de/actaddlicense
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
* © 2015-2017 Ellpeck
*/
package de.ellpeck.actuallyadditions.mod.config.values;
import de.ellpeck.actuallyadditions.mod.config.ConfigCategories;
public enum ConfigIntListValues{
ORE_GEN_DIMENSION_BLACKLIST("OreGen Dimension Blacklist", ConfigCategories.WORLD_GEN, new int[0], "The list of IDs that Actually Additions OreGen (Ex: Black Quartz) is banned in. This also applies for other world gen like lush caves."),
PLANT_DIMENSION_BLACKLIST("Plant Blacklist", ConfigCategories.WORLD_GEN, new int[0], "The list of IDs of the dimensions that Actually Additions Plants (Rice for example) are banned in.");
public final String name;
public final String category;
public final int[] defaultValue;
public final String desc;
public int[] currentValue;
ConfigIntListValues(String name, ConfigCategories category, int[] defaultValue, String desc){
this.name = name;
this.category = category.name;
this.defaultValue = defaultValue;
this.desc = desc;
}
public int[] getValue(){
return this.currentValue;
}
}