net.minecraft.world

public enum Difficulty

implements StringRepresentable

bjy
net.minecraft.world.Difficulty
net.minecraft.class_1267
net.minecraft.unmapped.C_mpbjgxic
net.minecraft.world.Difficulty
net.minecraft.world.Difficulty
net.minecraft.src.C_468_
net.minecraft.world.EnumDifficulty

Enum constant summary

Enum Constant
a
PEACEFUL
field_5801
f_ahkuqfho
PEACEFUL
PEACEFUL
PEACEFUL
b
EASY
field_5805
f_dzqtkuch
EASY
EASY
EASY
c
NORMAL
field_5802
f_grfptmno
NORMAL
NORMAL
NORMAL
d
HARD
field_5807
f_vebyphib
HARD
HARD
HARD

Field summary

Modifier and TypeField
public static final StringRepresentable$EnumCodec<Difficulty>
e
CODEC
field_41668
f_byewhmzg
CODEC
CODEC
f_262746_
private static final IntFunction<Difficulty>
f
BY_ID
field_5800
f_knikxerl
BY_ID
BY_NAME
f_19018_
private final int
g
id
field_5803
f_kewzwuek
id
id
f_19019_
private final String
h
key
field_5806
f_nbtqhzsu
name
name
f_19020_

Constructor summary

ModifierConstructor
private (int p_19025_, String p_19026_)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_5461()
m_vlsovuyi()
getId()
getId()
m_19028_()
public Component
b()
getDisplayName()
method_5463()
m_bkyxuypb()
getTranslatableName()
getTranslatableName()
m_19033_()
public Component
d()
getInfo()
method_48556()
m_cfjonvbd()
getInfo()
getInfoText()
m_267622_()
public static Difficulty
a(int arg0)
byId(int arg0)
method_5462(int arg0)
m_lphvflky(int arg0)
byId(int id)
byOrdinal(int ordinal)
m_19029_(int p_19030_)
public static Difficulty
a(String arg0)
byName(String arg0)
method_16691(String arg0)
m_jfnrdhku(String arg0)
byName(String name)
byName(String name)
m_19031_(String p_19032_)
public String
e()
getKey()
method_5460()
m_obxmdevi()
getName()
getName()
m_19036_()
public String
c()
getSerializedName()
method_15434()
m_dxbrenur()
asString()
asString()
m_7912_()