2015-08-29 14:33:25 +02:00
/ *
2016-05-16 22:52:27 +02:00
* This file ( " ConfigIntValues.java " ) is part of the Actually Additions mod for Minecraft .
2015-08-29 14:33:25 +02:00
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
2016-05-16 22:52:27 +02:00
* http : //ellpeck.de/actaddlicense
2015-08-29 14:33:25 +02:00
* View the source code at https : //github.com/Ellpeck/ActuallyAdditions
*
2016-05-16 22:54:42 +02:00
* © 2015 - 2016 Ellpeck
2015-08-29 14:33:25 +02:00
* /
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.config.values ;
2015-04-24 19:22:03 +02:00
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.config.ConfigCategories ;
2015-04-24 19:22:03 +02:00
public enum ConfigIntValues {
JAM_VILLAGER_ID ( " Jam Villager: ID " , ConfigCategories . WORLD_GEN , 493827 , 100 , 1000000 , " The ID of the Jam Villager " ) ,
2015-11-28 19:02:01 +01:00
RICE_AMOUNT ( " Rice: Amount " , ConfigCategories . WORLD_GEN , 15 , 1 , 100 , " The Amount of Rice generating " ) ,
CANOLA_AMOUNT ( " Canola: Amount " , ConfigCategories . WORLD_GEN , 10 , 1 , 50 , " The Amount of Canola generating " ) ,
FLAX_AMOUNT ( " Flax: Amount " , ConfigCategories . WORLD_GEN , 8 , 1 , 50 , " The Amount of Flax generating " ) ,
COFFEE_AMOUNT ( " Coffee: Amount " , ConfigCategories . WORLD_GEN , 6 , 1 , 50 , " The Amount of Coffee generating " ) ,
BLACK_LOTUS_AMOUNT ( " Black Lotus: Amount " , ConfigCategories . WORLD_GEN , 14 , 1 , 50 , " The Amount of Black Lotus generating " ) ,
2016-05-21 12:46:55 +02:00
LUSH_CAVE_CHANCE ( " Lush Caves: Chance " , ConfigCategories . WORLD_GEN , 20 , 1 , 100 , " The chance for lush caves to generate. The lower the number, the likelier. " ) ,
2015-10-28 20:35:39 +01:00
2015-11-18 23:11:24 +01:00
TILE_ENTITY_UPDATE_INTERVAL ( " Tile Entities: Update Interval " , ConfigCategories . OTHER , 5 , 1 , 100 , " The amount of ticks waited before a TileEntity sends an additional Update to the Client " ) ;
2015-04-24 19:22:03 +02:00
public final String name ;
public final String category ;
public final int defaultValue ;
public final int min ;
public final int max ;
public final String desc ;
2015-07-01 16:32:21 +02:00
public int currentValue ;
2015-04-24 19:22:03 +02:00
ConfigIntValues ( String name , ConfigCategories category , int defaultValue , int min , int max , String desc ) {
this . name = name ;
this . category = category . name ;
this . defaultValue = defaultValue ;
this . min = min ;
this . max = max ;
this . desc = desc ;
}
public int getValue ( ) {
2015-07-01 16:32:21 +02:00
return this . currentValue ;
2015-04-24 19:22:03 +02:00
}
}