Status
Works as designed
Issue description
Weapon Damage is not working. Changing Maxdamage does not increase damage.
static class ItemwarriorSword extends Item {
public ItemwarriorSword() {
setMaxDamage(100);
maxStackSize = 64;
setUnlocalizedName("warriorsword");
setRegistryName("warriorsword");
ForgeRegistries.ITEMS.register(this);
setCreativeTab(CreativeTabs.COMBAT);
}
@Override
public int getItemEnchantability() {
return 85;
}
@Override
public int getMaxItemUseDuration(ItemStack par1ItemStack) {
return 1000;
}
@Override
public float getDestroySpeed(ItemStack par1ItemStack, IBlockState par2Block) {
return 0.01F;
}
@Override
public void addInformation(ItemStack itemstack, World world, List<String> list, ITooltipFlag flag) {
list.add("Soul Infused Weapon");
}
}
}
This bug happens with tools or items or both?