net.minecraft.world

public enum Difficulty

aoo
net.minecraft.world.Difficulty
net.minecraft.class_1267
net.minecraft.world.Difficulty
net.minecraft.world.Difficulty
net.minecraft.server.v1_16_R2.EnumDifficulty

Enum constant summary

Enum Constant
a
PEACEFUL
field_5801
PEACEFUL
PEACEFUL
PEACEFUL
b
EASY
field_5805
EASY
EASY
EASY
c
NORMAL
field_5802
NORMAL
NORMAL
NORMAL
d
HARD
field_5807
HARD
HARD
HARD

Field summary

Modifier and TypeField
private static final Difficulty[]
e
BY_ID
field_5800
BY_NAME
field_151530_e
private final int
f
id
field_5803
id
field_151527_f
private final String
g
key
field_5806
name
field_151528_g

Constructor summary

ModifierConstructor
private (int arg0, String arg1)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_5461()
getId()
func_151525_a()
public Component
b()
getDisplayName()
method_5463()
getTranslatableName()
func_199285_b()
public static Difficulty
a(int arg0)
byId(int arg0)
method_5462(int arg0)
byOrdinal(int ordinal)
func_151523_a(int arg0)
getById(int arg0)
public static Difficulty
a(String arg0)
byName(String arg0)
method_16691(String arg0)
byName(String name)
func_219963_a(String arg0)
public String
c()
getKey()
method_5460()
getName()
func_151526_b()
public Difficulty
d()
nextById()
method_27297()
cycle()
func_233536_d_()