Uses of Enum Class
net.minecraft.world.entity.ai.attributes.AttributeModifier.Operation
Package
Description
-
Uses of AttributeModifier.Operation in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier(CommandSourceStack p_136470_, Entity p_136471_, Attribute p_136472_, UUID p_136473_, String p_136474_, double p_136475_, AttributeModifier.Operation p_136476_)
-
Uses of AttributeModifier.Operation in net.minecraft.world.effect
Modifier 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
Modifier and TypeFieldDescriptionprivate AttributeModifier.Operation
AttributeModifier.operation
private static AttributeModifier.Operation[]
AttributeModifier.Operation.OPERATIONS
Modifier and TypeFieldDescriptionprivate Map<AttributeModifier.Operation,Set<AttributeModifier>>
AttributeInstance.modifiersByOperation
Modifier 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.Modifier and TypeMethodDescriptionAttributeInstance.getModifiers(AttributeModifier.Operation p_22105_)
private Collection<AttributeModifier>
AttributeInstance.getModifiersOrEmpty(AttributeModifier.Operation p_22117_)
ModifierConstructorDescriptionAttributeModifier(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
Modifier and TypeFieldDescription(package private) AttributeModifier.Operation
SetAttributesFunction.Modifier.operation
private AttributeModifier.Operation
SetAttributesFunction.ModifierBuilder.operation
Modifier and TypeMethodDescriptionprivate static AttributeModifier.Operation
SetAttributesFunction.Modifier.operationFromString(String p_80870_)
Modifier 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_)
ModifierConstructorDescription(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_)