net.minecraft.world.entity

public enum EquipmentSlotGroup

implements StringRepresentable

bte
net.minecraft.world.entity.EquipmentSlotGroup
net.minecraft.class_9274
net.minecraft.component.type.AttributeModifierSlot
net.minecraft.src.C_313414_
net.minecraft.world.entity.EquipmentSlotGroup

Enum constant summary

Enum Constant
a
ANY
field_49216
ANY
ANY
b
MAINHAND
field_49217
MAINHAND
MAINHAND
c
OFFHAND
field_49218
OFFHAND
OFFHAND
d
HAND
field_49219
HAND
HAND
e
FEET
field_49220
FEET
FEET
f
LEGS
field_49221
LEGS
LEGS
g
CHEST
field_49222
CHEST
CHEST
h
HEAD
field_49223
HEAD
HEAD
i
ARMOR
field_49224
ARMOR
ARMOR
j
BODY
field_50127
BODY
BODY

Field summary

Modifier and TypeField
public static final IntFunction<EquipmentSlotGroup>
k
BY_ID
field_49225
ID_TO_VALUE
f_315025_
public static final com.mojang.serialization.Codec<EquipmentSlotGroup>
l
CODEC
field_49226
CODEC
f_315768_
public static final StreamCodec<io.netty.buffer.ByteBuf, EquipmentSlotGroup>
m
STREAM_CODEC
field_49227
PACKET_CODEC
f_316872_
private final int
n
id
field_49228
id
f_315618_
private final String
o
key
field_49229
name
f_317095_
private final Predicate<EquipmentSlot>
p
predicate
field_49230
slotPredicate
f_316897_

Constructor summary

ModifierConstructor
private (int p_333904_, String p_335419_, Predicate<EquipmentSlot> id)
private (int p_327704_, String p_334344_, EquipmentSlot id)

Method summary

Modifier and TypeMethod
public static EquipmentSlotGroup
a(btd arg0)
bySlot(EquipmentSlot arg0)
method_59524(class_1304 arg0)
forEquipmentSlot(EquipmentSlot slot)
m_320511_(C_516_ p_331051_)
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
public boolean
b(btd arg0)
test(EquipmentSlot arg0)
method_57286(class_1304 arg0)
matches(EquipmentSlot slot)
m_318881_(C_516_ arg0)