diff --git a/build.gradle b/build.gradle index 116a662e..2699432d 100644 --- a/build.gradle +++ b/build.gradle @@ -43,7 +43,7 @@ dependencies { deobfProvided "mezz.jei:jei_${mc_version}:${jei_version}:api" runtime "mezz.jei:jei_${mc_version}:${jei_version}" - compile 'maven.modrinth:kekkai:1.2.0' + compile 'maven.modrinth:kekkai:1.2.1' } processResources { diff --git a/src/main/java/arekkuusu/grimoireofalice/common/item/ItemMomijisScimitarSword.java b/src/main/java/arekkuusu/grimoireofalice/common/item/ItemMomijisScimitarSword.java index 85c72738..6be810f3 100644 --- a/src/main/java/arekkuusu/grimoireofalice/common/item/ItemMomijisScimitarSword.java +++ b/src/main/java/arekkuusu/grimoireofalice/common/item/ItemMomijisScimitarSword.java @@ -17,21 +17,21 @@ import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.item.ItemStack; -public class ItemMomijisScimitarSword extends ItemBaseSword { +public class ItemMomijisScimitarSword extends ItemBaseSword { - public ItemMomijisScimitarSword(ToolMaterial material) { - super(material, LibName.MOMIJI_SCIMITAR_SWORD); - } + public ItemMomijisScimitarSword(ToolMaterial material) { + super(material, LibName.MOMIJI_SCIMITAR_SWORD); + } - @Override - public Multimap getAttributeModifiers(EntityEquipmentSlot slot, ItemStack stack) { - Multimap modifiers = super.getAttributeModifiers(slot, stack); - MiscHelper.multiplyItemModifier(modifiers, SharedMonsterAttributes.ATTACK_SPEED, ATTACK_SPEED_MODIFIER, 4); - return modifiers; - } + @Override + public Multimap getAttributeModifiers(EntityEquipmentSlot slot, ItemStack stack) { + Multimap modifiers = super.getAttributeModifiers(slot, stack); + MiscHelper.multiplyItemModifier(modifiers, SharedMonsterAttributes.ATTACK_SPEED, ATTACK_SPEED_MODIFIER, -0.7); + return modifiers; + } - @Override - public boolean getIsRepairable(ItemStack toRepair, ItemStack repair) { - return repair.getItem() == Items.IRON_INGOT; - } + @Override + public boolean getIsRepairable(ItemStack toRepair, ItemStack repair) { + return repair.getItem() == Items.IRON_INGOT; + } }