net.minecraft.world

public enum Difficulty

ary
net.minecraft.world.Difficulty
net.minecraft.class_1267
net.minecraft.world.Difficulty
net.minecraft.src.C_468_
net.minecraft.world.EnumDifficulty

Enum constant summary

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

Field summary

Modifier and TypeField
private static final Difficulty[]
e
BY_ID
field_5800
BY_NAME
f_19018_
private final int
f
id
field_5803
id
f_19019_
private final String
g
key
field_5806
name
f_19020_

Constructor summary

ModifierConstructor
private (int p_19025_, String p_19026_)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_5461()
getId()
m_19028_()
public Component
b()
getDisplayName()
method_5463()
getTranslatableName()
m_19033_()
public static Difficulty
a(int arg0)
byId(int arg0)
method_5462(int arg0)
byOrdinal(int ordinal)
m_19029_(int p_19030_)
getById(int arg0)
public static Difficulty
a(String arg0)
byName(String arg0)
method_16691(String arg0)
byName(String name)
m_19031_(String p_19032_)
public String
c()
getKey()
method_5460()
getName()
m_19036_()