net.minecraft.world.entity

public enum EquipmentSlot

implements StringRepresentable

btd
net.minecraft.world.entity.EquipmentSlot
net.minecraft.class_1304
net.minecraft.entity.EquipmentSlot
net.minecraft.src.C_516_
net.minecraft.world.entity.EnumItemSlot

Enum constant summary

Enum Constant
a
MAINHAND
field_6173
MAINHAND
MAINHAND
b
OFFHAND
field_6171
OFFHAND
OFFHAND
c
FEET
field_6166
FEET
FEET
d
LEGS
field_6172
LEGS
LEGS
e
CHEST
field_6174
CHEST
CHEST
f
HEAD
field_6169
HEAD
HEAD
g
BODY
field_48824
BODY
BODY

Field summary

Modifier and TypeField
public static final StringRepresentable$EnumCodec<EquipmentSlot>
h
CODEC
field_45739
CODEC
f_290499_
private final EquipmentSlot$Type
i
type
field_6170
type
f_20730_
private final int
j
index
field_6168
entityId
f_20731_
private final int
k
filterFlag
field_6167
armorStandId
f_20732_
private final String
l
name
field_6175
name
f_20733_

Constructor summary

ModifierConstructor
private (EquipmentSlot$Type p_20738_, int p_20739_, int type, String entityId)

Method summary

Modifier and TypeMethod
public EquipmentSlot$Type
a()
getType()
method_5925()
getType()
m_20743_()
public int
b()
getIndex()
method_5927()
getEntitySlotId()
m_20749_()
public int
a(int arg0)
getIndex(int arg0)
method_32320(int arg0)
getOffsetEntitySlotId(int offset)
m_147068_(int arg0)
public int
d()
getFilterFlag()
method_5926()
getArmorStandSlotId()
m_20750_()
public String
e()
getName()
method_5923()
getName()
m_20751_()
public boolean
f()
isArmor()
method_46643()
isArmorSlot()
m_254934_()
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
public static EquipmentSlot
a(String arg0)
byName(String arg0)
method_5924(String arg0)
byName(String name)
m_20747_(String p_20748_)
public static EquipmentSlot
a(btd$a arg0, int arg1)
byTypeAndIndex(EquipmentSlot$Type arg0, int arg1)
method_20234(class_1304$class_1305 arg0, int arg1)
fromTypeIndex(EquipmentSlot$Type type, int index)
m_20744_(C_516_$C_517_ p_20745_, int p_20746_)