Uses of Enum Class
net.minecraft.entity.attribute.EntityAttributeModifier.Operation
Packages that use EntityAttributeModifier.Operation
Package
Description
-
Uses of EntityAttributeModifier.Operation in net.minecraft.enchantment.effect
Fields in net.minecraft.enchantment.effect declared as EntityAttributeModifier.OperationModifier and TypeFieldDescriptionprivate final EntityAttributeModifier.OperationAttributeEnchantmentEffect.operationThe field for theoperationrecord component.Methods in net.minecraft.enchantment.effect that return EntityAttributeModifier.OperationModifier and TypeMethodDescriptionAttributeEnchantmentEffect.operation()Returns the value of theoperationrecord component.Constructors in net.minecraft.enchantment.effect with parameters of type EntityAttributeModifier.OperationModifierConstructorDescriptionAttributeEnchantmentEffect(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EnchantmentLevelBasedValue enchantmentLevelBasedValue, EntityAttributeModifier.Operation operation) -
Uses of EntityAttributeModifier.Operation in net.minecraft.entity.attribute
Fields in net.minecraft.entity.attribute declared as EntityAttributeModifier.OperationModifier and TypeFieldDescriptionprivate final EntityAttributeModifier.OperationEntityAttributeModifier.operationThe field for theoperationrecord component.Fields in net.minecraft.entity.attribute with type parameters of type EntityAttributeModifier.OperationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EntityAttributeModifier.Operation> EntityAttributeModifier.Operation.CODECstatic final IntFunction<EntityAttributeModifier.Operation> EntityAttributeModifier.Operation.ID_TO_VALUEprivate final Map<EntityAttributeModifier.Operation, Map<Identifier, EntityAttributeModifier>> EntityAttributeInstance.operationToModifiersstatic final PacketCodec<ByteBuf, EntityAttributeModifier.Operation> EntityAttributeModifier.Operation.PACKET_CODECMethods in net.minecraft.entity.attribute that return EntityAttributeModifier.OperationModifier and TypeMethodDescriptionEntityAttributeModifier.operation()Returns the value of theoperationrecord 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.Methods in net.minecraft.entity.attribute with parameters of type EntityAttributeModifier.OperationModifier and TypeMethodDescription(package private) Map<Identifier, EntityAttributeModifier> EntityAttributeInstance.getModifiers(EntityAttributeModifier.Operation operation) private Collection<EntityAttributeModifier> EntityAttributeInstance.getModifiersByOperation(EntityAttributeModifier.Operation operation) Constructors in net.minecraft.entity.attribute with parameters of type EntityAttributeModifier.OperationModifierConstructorDescriptionEntityAttributeModifier(Identifier identifier, double double2, EntityAttributeModifier.Operation operation) -
Uses of EntityAttributeModifier.Operation in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect declared as EntityAttributeModifier.OperationModifier and TypeFieldDescriptionprivate final EntityAttributeModifier.OperationStatusEffect.EffectAttributeModifierCreator.operationThe field for theoperationrecord component.Methods in net.minecraft.entity.effect that return EntityAttributeModifier.OperationModifier and TypeMethodDescriptionStatusEffect.EffectAttributeModifierCreator.operation()Returns the value of theoperationrecord component.Methods in net.minecraft.entity.effect with parameters of type EntityAttributeModifier.OperationModifier and TypeMethodDescriptionStatusEffect.addAttributeModifier(RegistryEntry<EntityAttribute> attribute, Identifier id, double amount, EntityAttributeModifier.Operation operation) Constructors in net.minecraft.entity.effect with parameters of type EntityAttributeModifier.OperationModifierConstructorDescription(package private)EffectAttributeModifierCreator(Identifier identifier, double double2, EntityAttributeModifier.Operation operation) -
Uses of EntityAttributeModifier.Operation in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as EntityAttributeModifier.OperationModifier and TypeFieldDescriptionprivate final EntityAttributeModifier.OperationSetAttributesLootFunction.Attribute.operationThe field for theoperationrecord component.private final EntityAttributeModifier.OperationSetAttributesLootFunction.AttributeBuilder.operationMethods in net.minecraft.loot.function that return EntityAttributeModifier.OperationModifier and TypeMethodDescriptionSetAttributesLootFunction.Attribute.operation()Returns the value of theoperationrecord component.Methods in net.minecraft.loot.function with parameters of type EntityAttributeModifier.OperationModifier and TypeMethodDescriptionSetAttributesLootFunction.attributeBuilder(Identifier id, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) Constructors in net.minecraft.loot.function with parameters of type EntityAttributeModifier.OperationModifierConstructorDescription(package private)Attribute(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier.Operation operation, LootNumberProvider amount, List<AttributeModifierSlot> list) AttributeBuilder(Identifier id, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) -
Uses of EntityAttributeModifier.Operation in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type EntityAttributeModifier.OperationModifier and TypeFieldDescriptionprivate final Optional<EntityAttributeModifier.Operation> AttributeModifiersPredicate.AttributeModifierPredicate.operationThe field for theoperationrecord component.Methods in net.minecraft.predicate.item that return types with arguments of type EntityAttributeModifier.Operation -
Uses of EntityAttributeModifier.Operation in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type EntityAttributeModifier.OperationModifier and TypeMethodDescriptionprivate static intAttributeCommand.executeModifierAdd(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, double value, EntityAttributeModifier.Operation operation)