net.minecraft.world.entity

public enum EquipmentSlot

implements StringRepresentable

bwp
net.minecraft.world.entity.EquipmentSlot
net.minecraft.class_1304
net.minecraft.unmapped.C_yuycoehb
net.minecraft.entity.EquipmentSlot
net.minecraft.entity.EquipmentSlot

Enum constant summary

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

Field summary

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

Constructor summary

ModifierConstructor
private (EquipmentSlot$Type arg0, int arg1, int type, int entityId, String maxCount)
private (EquipmentSlot$Type arg0, int arg1, int type, String entityId)

Method summary

Modifier and TypeMethod
public EquipmentSlot$Type
a()
getType()
method_5925()
m_egyjjxnq()
getType()
getType()
public int
b()
getIndex()
method_5927()
m_sybtfyce()
getEntitySlotId()
getEntitySlotId()
public int
a(int arg0)
getIndex(int arg0)
method_32320(int arg0)
m_dmhyzohc(int arg0)
getOffsetEntitySlotId(int offset)
getOffsetEntitySlotId(int offset)
public ItemStack
a(czd arg0)
limit(ItemStack arg0)
method_60610(class_1799 arg0)
m_cypegoms(C_sddaxwyk arg0)
split(ItemStack stack)
split(ItemStack stack)
public int
d()
getId()
method_63622()
m_bufirwcp()
getIndex()
getId()
public int
b(int arg0)
getFilterBit(int arg0)
method_63620(int arg0)
m_jjdtlure(int arg0)
getOffsetIndex(int offset)
offsetId(int offset)
public String
e()
getName()
method_5923()
m_ovklkqiy()
getName()
getName()
public boolean
f()
isArmor()
method_46643()
m_omjerill()
isArmorSlot()
isArmorSlot()
public String
c()
getSerializedName()
method_15434()
m_dxbrenur()
asString()
asString()
public boolean
g()
canIncreaseExperience()
method_66664()
m_fqdysdsq()
increasesDroppedExperience()
public static EquipmentSlot
a(String arg0)
byName(String arg0)
method_5924(String arg0)
m_wjkdieuv(String arg0)
byName(String name)
byName(String name)