mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-09-27 11:21:05 +02:00
38 lines
1.4 KiB
Java
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-2016 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 IDs of the dimensions that Actually Additions OreGen (Black Quartz for example) 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 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;
|
||
|
}
|
||
|
|
||
|
}
|