Uses of Enum Class
net.minecraft.world.entity.ai.attributes.AttributeModifier.Operation
Packages that use AttributeModifier.Operation
Package
Description
-
Uses of AttributeModifier.Operation in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type AttributeModifier.OperationModifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier
(CommandSourceStack p_136470_, Entity p_136471_, Holder<Attribute> p_251636_, UUID p_136473_, String p_136474_, double p_136475_, AttributeModifier.Operation p_136476_) -
Uses of AttributeModifier.Operation in net.minecraft.world.effect
Methods in net.minecraft.world.effect with parameters of type AttributeModifier.OperationModifier and TypeMethodDescriptionMobEffect.addAttributeModifier
(Attribute p_19473_, String p_19474_, double p_19475_, AttributeModifier.Operation p_19476_) -
Uses of AttributeModifier.Operation in net.minecraft.world.entity.ai.attributes
Fields in net.minecraft.world.entity.ai.attributes declared as AttributeModifier.OperationModifier and TypeFieldDescriptionprivate final AttributeModifier.Operation
AttributeModifier.operation
private static final AttributeModifier.Operation[]
AttributeModifier.Operation.OPERATIONS
Fields in net.minecraft.world.entity.ai.attributes with type parameters of type AttributeModifier.OperationModifier and TypeFieldDescriptionprivate final Map<AttributeModifier.Operation,
Set<AttributeModifier>> AttributeInstance.modifiersByOperation
Methods in net.minecraft.world.entity.ai.attributes that return AttributeModifier.OperationModifier and TypeMethodDescriptionstatic AttributeModifier.Operation
AttributeModifier.Operation.fromValue
(int p_22237_) 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.Methods in net.minecraft.world.entity.ai.attributes with parameters of type AttributeModifier.OperationModifier and TypeMethodDescriptionAttributeInstance.getModifiers
(AttributeModifier.Operation p_22105_) private Collection<AttributeModifier>
AttributeInstance.getModifiersOrEmpty
(AttributeModifier.Operation p_22117_) Constructors in net.minecraft.world.entity.ai.attributes with parameters of type AttributeModifier.OperationModifierConstructorDescriptionAttributeModifier
(String p_22196_, double p_22197_, AttributeModifier.Operation p_22198_) AttributeModifier
(UUID p_22200_, String p_22201_, double p_22202_, AttributeModifier.Operation p_22203_) AttributeModifier
(UUID p_22205_, Supplier<String> p_22206_, double p_22207_, AttributeModifier.Operation p_22208_) -
Uses of AttributeModifier.Operation in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as AttributeModifier.OperationModifier and TypeFieldDescription(package private) final AttributeModifier.Operation
SetAttributesFunction.Modifier.operation
private final AttributeModifier.Operation
SetAttributesFunction.ModifierBuilder.operation
Methods in net.minecraft.world.level.storage.loot.functions that return AttributeModifier.OperationModifier and TypeMethodDescriptionprivate static AttributeModifier.Operation
SetAttributesFunction.Modifier.operationFromString
(String p_80870_) Methods in net.minecraft.world.level.storage.loot.functions with parameters of type AttributeModifier.OperationModifier and TypeMethodDescriptionSetAttributesFunction.modifier
(String p_165236_, Attribute p_165237_, AttributeModifier.Operation p_165238_, NumberProvider p_165239_) private static String
SetAttributesFunction.Modifier.operationToString
(AttributeModifier.Operation p_80861_) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type AttributeModifier.OperationModifierConstructorDescription(package private)
Modifier
(String p_165250_, Attribute p_165251_, AttributeModifier.Operation p_165252_, NumberProvider p_165253_, EquipmentSlot[] p_165254_, UUID p_165255_) ModifierBuilder
(String p_165263_, Attribute p_165264_, AttributeModifier.Operation p_165265_, NumberProvider p_165266_)