SergOmarov

Untitled

Jan 24th, 2017
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Hook(returnCondition = ReturnCondition.ALWAYS)
  2.     public static Multimap getAttributeModifiers(ItemLawSword tool,ItemStack item) {
  3.  
  4.         Multimap multimap = HashMultimap.create();
  5.         UUID id = new UUID(0, 0);
  6.         multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), new AttributeModifier(id, "Weapon modifier", 5.25D, 0));
  7.         multimap.put("extrautils.godSlayingAttackDamage", new AttributeModifier(id, "Weapon modifier", 1.5D, 0));
  8.         multimap.put("extrautils.armorPiercingAttackDamage", new AttributeModifier(id, "Weapon modifier", 3D, 0));
  9.         return multimap;
  10.     }
RAW Paste Data