mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
4 ATTACK DAMAGE WHEN ON FEET
This commit is contained in:
parent
98299708d5
commit
eed5cbdc92
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,9 @@ public class ItemKnife extends ItemBase{
|
|||
@Override
|
||||
public Multimap getAttributeModifiers(EntityEquipmentSlot slot, ItemStack stack){
|
||||
Multimap map = super.getAttributeModifiers(slot, stack);
|
||||
map.put(SharedMonsterAttributes.ATTACK_DAMAGE.getAttributeUnlocalizedName(), new AttributeModifier(ATTACK_DAMAGE_MODIFIER, "Knife Modifier", 3, 0));
|
||||
if(slot == EntityEquipmentSlot.MAINHAND){
|
||||
map.put(SharedMonsterAttributes.ATTACK_DAMAGE.getAttributeUnlocalizedName(), new AttributeModifier(ATTACK_DAMAGE_MODIFIER, "Knife Modifier", 3, 0));
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue