Uses of Enum Class
net.minecraft.entity.attribute.EntityAttributeModifier.Operation
Package
Description
-
Uses of EntityAttributeModifier.Operation in net.minecraft.enchantment.effect
Modifier and TypeFieldDescriptionprivate final EntityAttributeModifier.Operation
AttributeEnchantmentEffectType.operation
The field for theoperation
record component.Modifier and TypeMethodDescriptionAttributeEnchantmentEffectType.operation()
Returns the value of theoperation
record component.ModifierConstructorDescriptionAttributeEnchantmentEffectType
(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, EntityAttributeModifier.Operation operation) -
Uses of EntityAttributeModifier.Operation in net.minecraft.entity.attribute
Modifier and TypeFieldDescriptionprivate final EntityAttributeModifier.Operation
EntityAttributeModifier.operation
The field for theoperation
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EntityAttributeModifier.Operation> EntityAttributeModifier.Operation.CODEC
static final IntFunction
<EntityAttributeModifier.Operation> EntityAttributeModifier.Operation.ID_TO_VALUE
private final Map
<EntityAttributeModifier.Operation, Map<Identifier, EntityAttributeModifier>> EntityAttributeInstance.operationToModifiers
static final PacketCodec
<ByteBuf, EntityAttributeModifier.Operation> EntityAttributeModifier.Operation.PACKET_CODEC
Modifier and TypeMethodDescriptionEntityAttributeModifier.operation()
Returns the value of theoperation
record component.Returns the enum constant of this class with the specified name.static EntityAttributeModifier.Operation[]
EntityAttributeModifier.Operation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescription(package private) Map
<Identifier, EntityAttributeModifier> EntityAttributeInstance.getModifiers
(EntityAttributeModifier.Operation operation) private Collection
<EntityAttributeModifier> EntityAttributeInstance.getModifiersByOperation
(EntityAttributeModifier.Operation operation) ModifierConstructorDescriptionEntityAttributeModifier
(Identifier identifier, double double2, EntityAttributeModifier.Operation operation) -
Uses of EntityAttributeModifier.Operation in net.minecraft.entity.effect
Modifier and TypeFieldDescriptionprivate final EntityAttributeModifier.Operation
StatusEffect.EffectAttributeModifierCreator.operation
The field for theoperation
record component.Modifier and TypeMethodDescriptionStatusEffect.EffectAttributeModifierCreator.operation()
Returns the value of theoperation
record component.Modifier and TypeMethodDescriptionStatusEffect.addAttributeModifier
(RegistryEntry<EntityAttribute> attribute, Identifier identifier, double amount, EntityAttributeModifier.Operation operation) ModifierConstructorDescription(package private)
EffectAttributeModifierCreator
(Identifier identifier, double double2, EntityAttributeModifier.Operation operation) -
Uses of EntityAttributeModifier.Operation in net.minecraft.loot.function
Modifier and TypeFieldDescriptionprivate final EntityAttributeModifier.Operation
SetAttributesLootFunction.Attribute.operation
The field for theoperation
record component.private final EntityAttributeModifier.Operation
SetAttributesLootFunction.AttributeBuilder.operation
Modifier and TypeMethodDescriptionSetAttributesLootFunction.Attribute.operation()
Returns the value of theoperation
record component.Modifier and TypeMethodDescriptionSetAttributesLootFunction.attributeBuilder
(Identifier identifier, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) ModifierConstructorDescription(package private)
Attribute
(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier.Operation operation, LootNumberProvider amount, List<AttributeModifierSlot> list) AttributeBuilder
(Identifier identifier, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) -
Uses of EntityAttributeModifier.Operation in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final Optional
<EntityAttributeModifier.Operation> AttributeModifiersPredicate.AttributeModifierPredicate.operation
The field for theoperation
record component. -
Uses of EntityAttributeModifier.Operation in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
AttributeCommand.executeModifierAdd
(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier identifier, double double2, EntityAttributeModifier.Operation operation)