Uses of Enum Class
net.minecraft.component.type.AttributeModifierSlot
Package
Description
-
Uses of AttributeModifierSlot in net.minecraft.component.type
Modifier and TypeFieldDescriptionprivate final AttributeModifierSlot
AttributeModifiersComponent.Entry.slot
The field for theslot
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AttributeModifierSlot> AttributeModifierSlot.CODEC
static final IntFunction
<AttributeModifierSlot> AttributeModifierSlot.ID_TO_VALUE
static final PacketCodec
<ByteBuf, AttributeModifierSlot> AttributeModifierSlot.PACKET_CODEC
Modifier and TypeMethodDescriptionstatic AttributeModifierSlot
AttributeModifierSlot.forEquipmentSlot
(EquipmentSlot slot) AttributeModifiersComponent.Entry.slot()
Returns the value of theslot
record component.static AttributeModifierSlot
Returns the enum constant of this class with the specified name.static AttributeModifierSlot[]
AttributeModifierSlot.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionAttributeModifiersComponent.Builder.add
(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) AttributeModifiersComponent.with
(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) ModifierConstructorDescriptionEntry
(RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier entityAttributeModifier, AttributeModifierSlot attributeModifierSlot) -
Uses of AttributeModifierSlot in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<List<AttributeModifierSlot>> SetAttributesLootFunction.Attribute.EQUIPMENT_SLOT_LIST_CODEC
private final List
<AttributeModifierSlot> SetAttributesLootFunction.Attribute.slots
The field for theslots
record component.private final Set
<AttributeModifierSlot> SetAttributesLootFunction.AttributeBuilder.slots
Modifier and TypeMethodDescriptionSetAttributesLootFunction.Attribute.slots()
Returns the value of theslots
record component.Modifier and TypeMethodDescriptionSetAttributesLootFunction.AttributeBuilder.slot
(AttributeModifierSlot slot) ModifierConstructorDescription(package private)
Attribute
(String name, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier.Operation operation, LootNumberProvider amount, List<AttributeModifierSlot> list, Optional<UUID> optional) -
Uses of AttributeModifierSlot in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final Optional
<AttributeModifierSlot> AttributeModifiersPredicate.AttributeModifierPredicate.slot
The field for theslot
record component.