net.minecraft.world.entity

public enum EquipmentSlot

implements StringRepresentable

buu
net.minecraft.world.entity.EquipmentSlot
net.minecraft.class_1304
net.minecraft.unmapped.C_yuycoehb
net.minecraft.entity.EquipmentSlot
net.minecraft.entity.EquipmentSlot
net.minecraft.src.C_516_
net.minecraft.world.entity.EnumItemSlot

Enum constant summary

Enum Constant
a
MAINHAND
field_6173
f_yakrbmjh
MAINHAND
MAINHAND
MAINHAND
b
OFFHAND
field_6171
f_bcxmpszf
OFFHAND
OFFHAND
OFFHAND
c
FEET
field_6166
f_kgwqenjp
FEET
FEET
FEET
d
LEGS
field_6172
f_aciggnqy
LEGS
LEGS
LEGS
e
CHEST
field_6174
f_ijigpdev
CHEST
CHEST
CHEST
f
HEAD
field_6169
f_sqsyjyps
HEAD
HEAD
HEAD
g
BODY
field_48824
f_ohfgihgh
BODY
BODY
BODY

Field summary

Modifier and TypeField
public static final int
h
NO_COUNT_LIMIT
field_51935
f_navctjmp
NO_MAX_COUNT
NO_MAX_COUNT
f_337736_
public static final List<EquipmentSlot>
i
VALUES
field_54086
f_exxszrbt
VALUES
VALUES
f_347168_
public static final IntFunction<EquipmentSlot>
j
BY_ID
field_54087
f_ixynlylb
FROM_INDEX
BY_ID
f_346217_
public static final StringRepresentable$EnumCodec<EquipmentSlot>
k
CODEC
field_45739
f_wotdkhkf
CODEC
CODEC
f_290499_
public static final StreamCodec<io.netty.buffer.ByteBuf, EquipmentSlot>
l
STREAM_CODEC
field_54088
f_vwsffrih
PACKET_CODEC
PACKET_CODEC
f_348127_
private final EquipmentSlot$Type
m
type
field_6170
f_sxrtmuub
type
type
f_20730_
private final int
n
index
field_6168
f_rwczokzq
entityId
entityId
f_20731_
private final int
o
countLimit
field_51936
f_utijifsu
maxCount
maxCount
f_337642_
private final int
p
id
field_54089
f_fneaxvvq
index
id
f_346527_
private final String
q
name
field_6175
f_xlhfthzn
name
name
f_20733_

Constructor summary

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

Method summary

Modifier and TypeMethod
public EquipmentSlot$Type
a()
getType()
method_5925()
m_egyjjxnq()
getType()
getType()
m_20743_()
public int
b()
getIndex()
method_5927()
m_sybtfyce()
getEntitySlotId()
getEntitySlotId()
m_20749_()
public int
a(int arg0)
getIndex(int arg0)
method_32320(int arg0)
m_dmhyzohc(int arg0)
getOffsetEntitySlotId(int offset)
getOffsetEntitySlotId(int offset)
m_147068_(int arg0)
public ItemStack
a(cwq arg0)
limit(ItemStack arg0)
method_60610(class_1799 arg0)
m_cypegoms(C_sddaxwyk arg0)
split(ItemStack stack)
split(ItemStack stack)
m_338803_(C_1391_ arg0)
public int
d()
getId()
method_63622()
m_bufirwcp()
getIndex()
getId()
m_353335_()
public int
b(int arg0)
getFilterBit(int arg0)
method_63620(int arg0)
m_jjdtlure(int arg0)
getOffsetIndex(int offset)
offsetId(int offset)
m_352179_(int arg0)
public String
e()
getName()
method_5923()
m_ovklkqiy()
getName()
getName()
m_20751_()
public boolean
f()
isArmor()
method_46643()
m_omjerill()
isArmorSlot()
isArmorSlot()
m_254934_()
public String
c()
getSerializedName()
method_15434()
m_dxbrenur()
asString()
asString()
m_7912_()
public static EquipmentSlot
a(String arg0)
byName(String arg0)
method_5924(String arg0)
m_wjkdieuv(String arg0)
byName(String name)
byName(String name)
m_20747_(String p_20748_)