net.minecraft.world.entity

public enum EquipmentSlot

implements StringRepresentable

bvs
net.minecraft.world.entity.EquipmentSlot
net.minecraft.class_1304
net.minecraft.entity.EquipmentSlot
net.minecraft.world.entity.EnumItemSlot

Enum constant summary

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

Field summary

Modifier and TypeField
public static final int
h
NO_COUNT_LIMIT
field_51935
NO_MAX_COUNT
public static final List<EquipmentSlot>
i
VALUES
field_54086
VALUES
public static final IntFunction<EquipmentSlot>
j
BY_ID
field_54087
FROM_INDEX
public static final StringRepresentable$EnumCodec<EquipmentSlot>
k
CODEC
field_45739
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, EquipmentSlot>
l
STREAM_CODEC
field_54088
PACKET_CODEC
private final EquipmentSlot$Type
m
type
field_6170
type
private final int
n
index
field_6168
entityId
private final int
o
countLimit
field_51936
maxCount
private final int
p
id
field_54089
index
private final String
q
name
field_6175
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()
getType()
public int
b()
getIndex()
method_5927()
getEntitySlotId()
public int
a(int arg0)
getIndex(int arg0)
method_32320(int arg0)
getOffsetEntitySlotId(int offset)
public ItemStack
a(cxp arg0)
limit(ItemStack arg0)
method_60610(class_1799 arg0)
split(ItemStack stack)
public int
d()
getId()
method_63622()
getIndex()
public int
b(int arg0)
getFilterBit(int arg0)
method_63620(int arg0)
getOffsetIndex(int offset)
public String
e()
getName()
method_5923()
getName()
public boolean
f()
isArmor()
method_46643()
isArmorSlot()
public String
c()
getSerializedName()
method_15434()
asString()
public static EquipmentSlot
a(String arg0)
byName(String arg0)
method_5924(String arg0)
byName(String name)