net.minecraft.world.entity

public enum EquipmentSlotGroup

implements StringRepresentable

buv
net.minecraft.world.entity.EquipmentSlotGroup
net.minecraft.class_9274
net.minecraft.component.type.AttributeModifierSlot
net.minecraft.world.entity.EquipmentSlotGroup

Enum constant summary

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

Field summary

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

Constructor summary

ModifierConstructor
private (int arg0, String arg1, Predicate<EquipmentSlot> id)
private (int arg0, String arg1, EquipmentSlot id)

Method summary

Modifier and TypeMethod
public static EquipmentSlotGroup
a(buu arg0)
bySlot(EquipmentSlot arg0)
method_59524(class_1304 arg0)
forEquipmentSlot(EquipmentSlot slot)
public String
c()
getSerializedName()
method_15434()
asString()
public boolean
b(buu arg0)
test(EquipmentSlot arg0)
method_57286(class_1304 arg0)
matches(EquipmentSlot slot)