Class Difficulties
- java.lang.Object
-
- org.spongepowered.api.world.difficulty.Difficulties
-
public final class Difficulties extends 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
-
-
-
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()
-
-