Class Difficulties
- java.lang.Object
-
- org.spongepowered.api.world.difficulty.Difficulties
-
public final class Difficulties extends java.lang.Object
A list of difficulties that Minecraft provides in vanilla.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<Difficulty>
EASY
static DefaultedRegistryReference<Difficulty>
HARD
static DefaultedRegistryReference<Difficulty>
NORMAL
static DefaultedRegistryReference<Difficulty>
PEACEFUL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Registry<Difficulty>
registry()
-
-
-
Field Detail
-
EASY
public static final DefaultedRegistryReference<Difficulty> EASY
-
HARD
public static final DefaultedRegistryReference<Difficulty> HARD
-
NORMAL
public static final DefaultedRegistryReference<Difficulty> NORMAL
-
PEACEFUL
public static final DefaultedRegistryReference<Difficulty> PEACEFUL
-
-
Method Detail
-
registry
public static Registry<Difficulty> registry()
-
-