Uses of Enum Class
net.minecraft.entity.ai.attributes.AttributeModifier.Operation
Package
Description
-
Uses of AttributeModifier.Operation in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier
(CommandSource p_241010_0_, Entity p_241010_1_, Attribute p_241010_2_, UUID p_241010_3_, String p_241010_4_, double p_241010_5_, AttributeModifier.Operation p_241010_7_) -
Uses of AttributeModifier.Operation in net.minecraft.entity.ai.attributes
Modifier and TypeFieldDescriptionprivate final AttributeModifier.Operation
AttributeModifier.operation
private static final AttributeModifier.Operation[]
AttributeModifier.Operation.OPERATIONS
Modifier and TypeFieldDescriptionprivate final Map<AttributeModifier.Operation,
Set<AttributeModifier>> ModifiableAttributeInstance.modifiersByOperation
Modifier and TypeMethodDescriptionstatic AttributeModifier.Operation
AttributeModifier.Operation.fromValue
(int p_220372_0_) AttributeModifier.getOperation()
static AttributeModifier.Operation
Returns the enum constant of this class with the specified name.static AttributeModifier.Operation[]
AttributeModifier.Operation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionModifiableAttributeInstance.getModifiers
(AttributeModifier.Operation p_225504_1_) private Collection<AttributeModifier>
ModifiableAttributeInstance.getModifiersOrEmpty
(AttributeModifier.Operation p_220370_1_) ModifierConstructorDescriptionAttributeModifier
(String p_i50375_1_, double p_i50375_2_, AttributeModifier.Operation p_i50375_4_) AttributeModifier
(UUID p_i50376_1_, String p_i50376_2_, double p_i50376_3_, AttributeModifier.Operation p_i50376_5_) AttributeModifier
(UUID p_i50377_1_, Supplier<String> p_i50377_2_, double p_i50377_3_, AttributeModifier.Operation p_i50377_5_) -
Uses of AttributeModifier.Operation in net.minecraft.loot.functions
Modifier and TypeFieldDescriptionprivate final AttributeModifier.Operation
SetAttributes.Modifier.operation
Modifier and TypeMethodDescriptionprivate static AttributeModifier.Operation
SetAttributes.Modifier.operationFromString
(String p_216246_0_) Modifier and TypeMethodDescriptionprivate static String
SetAttributes.Modifier.operationToString
(AttributeModifier.Operation p_216244_0_) ModifierConstructorDescriptionprivate
Modifier
(String p_i232172_1_, Attribute p_i232172_2_, AttributeModifier.Operation p_i232172_3_, RandomValueRange p_i232172_4_, EquipmentSlotType[] p_i232172_5_, UUID p_i232172_6_) -
Uses of AttributeModifier.Operation in net.minecraft.potion
Modifier and TypeMethodDescriptionEffect.addAttributeModifier
(Attribute p_220304_1_, String p_220304_2_, double p_220304_3_, AttributeModifier.Operation p_220304_5_)