Uses of Enum Class
net.minecraft.entity.attribute.EntityAttributeModifier.Operation
Packages that use EntityAttributeModifier.Operation
Package
Description
-
Uses of EntityAttributeModifier.Operation in net.minecraft.entity.attribute
Fields in net.minecraft.entity.attribute declared as EntityAttributeModifier.OperationModifier and TypeFieldDescriptionprivate final EntityAttributeModifier.Operation
EntityAttributeModifier.operation
private static final EntityAttributeModifier.Operation[]
EntityAttributeModifier.Operation.VALUES
Fields in net.minecraft.entity.attribute with type parameters of type EntityAttributeModifier.OperationModifier and TypeFieldDescriptionprivate final Map<EntityAttributeModifier.Operation,
Set<EntityAttributeModifier>> EntityAttributeInstance.operationToModifiers
Methods in net.minecraft.entity.attribute that return EntityAttributeModifier.OperationModifier and TypeMethodDescriptionEntityAttributeModifier.Operation.fromId
(int id) EntityAttributeModifier.getOperation()
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 TypeMethodDescriptionEntityAttributeInstance.getModifiers
(EntityAttributeModifier.Operation operation) private Collection<EntityAttributeModifier>
EntityAttributeInstance.getModifiersByOperation
(EntityAttributeModifier.Operation operation) Constructors in net.minecraft.entity.attribute with parameters of type EntityAttributeModifier.OperationModifierConstructorDescriptionEntityAttributeModifier
(String name, double value, EntityAttributeModifier.Operation operation) EntityAttributeModifier
(UUID uuid, String name, double value, EntityAttributeModifier.Operation operation) EntityAttributeModifier
(UUID uuid, Supplier<String> nameGetter, double value, EntityAttributeModifier.Operation operation) -
Uses of EntityAttributeModifier.Operation in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect with parameters of type EntityAttributeModifier.OperationModifier and TypeMethodDescriptionStatusEffect.addAttributeModifier
(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier.Operation operation) -
Uses of EntityAttributeModifier.Operation in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as EntityAttributeModifier.OperationModifier and TypeFieldDescription(package private) final EntityAttributeModifier.Operation
SetAttributesLootFunction.Attribute.operation
private final EntityAttributeModifier.Operation
SetAttributesLootFunction.AttributeBuilder.operation
Methods in net.minecraft.loot.function that return EntityAttributeModifier.OperationMethods in net.minecraft.loot.function with parameters of type EntityAttributeModifier.OperationModifier and TypeMethodDescriptionSetAttributesLootFunction.create
(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) private static String
SetAttributesLootFunction.Attribute.getName
(EntityAttributeModifier.Operation operation) Constructors in net.minecraft.loot.function with parameters of type EntityAttributeModifier.OperationModifierConstructorDescription(package private)
Attribute
(String string, EntityAttribute entityAttribute, EntityAttributeModifier.Operation operation, LootNumberProvider lootNumberProvider, EquipmentSlot[] equipmentSlot, @Nullable UUID uUID) AttributeBuilder
(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) -
Uses of EntityAttributeModifier.Operation in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type EntityAttributeModifier.OperationModifier and TypeMethodDescriptionprivate static int
AttributeCommand.executeModifierAdd
(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid, String name, double value, EntityAttributeModifier.Operation operation)