content: package com.github.alexthe666.rats.server.items;
  
  import com.github.alexthe666.rats.registry.RatsToolMaterialRegistry;
  import com.google.common.collect.HashMultimap;
  import com.google.common.collect.Multimap;
  import net.minecraft.world.entity.EquipmentSlot;
  import net.minecraft.world.entity.ai.attributes.Attribute;
  import net.minecraft.world.entity.ai.attributes.AttributeModifier;
  import net.minecraft.world.entity.ai.attributes.Attributes;
  import net.minecraft.world.item.Item;
  import net.minecraft.world.item.ItemStack;
  import net.minecraft.world.item.SwordItem;
  
  public class BaghNakhsItem extends SwordItem {
  
  	public BaghNakhsItem(Item.Properties properties) {
  		super(RatsToolMaterialRegistry.BAGHNAKHS, 3, -0.1F, properties);
  	}
  
  	@Override
  	public Multimap<Attribute, AttributeModifier> getAttributeModifiers(EquipmentSlot equipmentSlot, ItemStack stack) {
  		Multimap<Attribute, AttributeModifier> multimap = HashMultimap.create();
  		if (equipmentSlot == EquipmentSlot.MAINHAND) {
  			multimap.put(Attributes.ATTACK_DAMAGE, new AttributeModifier(BASE_ATTACK_DAMAGE_UUID, "Weapon modifier", 6, AttributeModifier.Operation.ADDITION));
  			multimap.put(Attributes.ATTACK_SPEED, new AttributeModifier(BASE_ATTACK_SPEED_UUID, "Weapon modifier", 6, AttributeModifier.Operation.ADDITION));
  		}
  		return multimap;
  	}
  
  }