net.minecraft.world.entity

public enum EquipmentSlotGroup

implements StringRepresentable, Iterable<EquipmentSlot>

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

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
k
SADDLE
field_55948
SADDLE

Field summary

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

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(bwk arg0)
bySlot(EquipmentSlot arg0)
method_59524(class_1304 arg0)
forEquipmentSlot(EquipmentSlot slot)
public String
c()
getSerializedName()
method_15434()
asString()
public boolean
b(bwk arg0)
test(EquipmentSlot arg0)
method_57286(class_1304 arg0)
matches(EquipmentSlot slot)
public List<EquipmentSlot>
a()
slots()
method_66665()
getSlots()
public Iterator<EquipmentSlot>
iterator()
iterator()