| Enum Constant and Description |
|---|
EPIC
Epic chest
|
LARGE
Large chest
|
LEGENDARY
Legendary chest
|
MEDIUM
Medium chest
|
SMALL
Small chest
|
TINY
Tiny chest
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChanceOneArtifact()
Returns the chance of a chest of this type having one artifact.
|
int |
getChanceThreeArtifacts()
Returns the chance of a chest of this type having three artifacts.
|
int |
getChanceTwoArtifacts()
Returns the chance of a chest of this type having two artifacts.
|
int |
getMaxGold()
Returns the maximum amount of gold in a chest of this type.
|
int |
getMinGold()
Returns the minimum amount of gold in a chest of this type.
|
int |
getReputation()
Returns the reputation obtained when opening a chest of this type.
|
static ChestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChestType TINY
public static final ChestType SMALL
public static final ChestType MEDIUM
public static final ChestType LARGE
public static final ChestType EPIC
public static final ChestType LEGENDARY
public static ChestType[] values()
for (ChestType c : ChestType.values()) System.out.println(c);
public static ChestType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getMinGold()
public int getMaxGold()
public int getReputation()
public int getChanceOneArtifact()
public int getChanceTwoArtifacts()
public int getChanceThreeArtifacts()