/* SevTech: Ages Hardness Modification Script This script allows for the modification of an ItemStack's hardness. Note: These scripts are created and for the usage in SevTech: Ages and other modpacks curated by DarkPacks. You can use these scripts for reference and for learning but not for copying and pasting and claiming as your own. */ import crafttweaker.item.IItemStack; static hardnessItems as float[IItemStack] = { : 5, : 3.5, : 3.5, : 5, : 7, : 3, : 6, : 4, : 4, : 3.5, : 3.5, : 3.5, : 4, : 6, : 6, : 6, : 2, : 2, : 2, : 2, : 2, : 2, : 2, : 2, : 2, : 2, : 2, : 2, : 0.2, : 2, : 3 }; function init() { for item, hardness in hardnessItems { item.hardness = hardness; } }