public class BattleTierRegistry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Tier |
NU |
static Tier |
OU |
static Tier |
PU |
static Tier |
RU |
static Tier |
UNRESTRICTED |
static Tier |
UU |
Constructor and Description |
---|
BattleTierRegistry() |
Modifier and Type | Method and Description |
---|---|
static <T extends Tier> |
addTier(T tier)
Adds a tier as a registered tier and then returns it (for caching)
|
static java.util.List<Tier> |
getAllTiers()
Gets a list of all the active tiers that have been registered
|
static Tier |
getTierWithID(java.lang.String id)
Gets the registered tier with the provided ID
|
public static final Tier UNRESTRICTED
public static final Tier OU
public static final Tier UU
public static final Tier RU
public static final Tier NU
public static final Tier PU
public static <T extends Tier> T addTier(T tier)
T
- The tier typetier
- The registered tierpublic static java.util.List<Tier> getAllTiers()
public static Tier getTierWithID(java.lang.String id)