-
-
Notifications
You must be signed in to change notification settings - Fork 24
Materials & item stats [JSON Configuration]
All of the material stats are located in a single file in \config\metallurgy_reforged\material.json
or HERE for the newest version. Metals are sorted alphabetically. Note that, by default, changes to this file will always overwritten, this is done so that we can update the stats of the metals when releasing a new version of the mod. You can enable editing of the file and subsequently disable the overwriting, in \config\metallurgy_reforged\general.cfg
under the # Loads the "material.json" file in the config folder...
section.
This is an example of a entry for a metal 'adamantine' in the materials.json
file:
{
"name": "adamantine",
"hardness": 11.5,
"blast_resistance": 15.0,
"ore_harvest_level": 6,
"color": "C62C29",
"armor_stats": {
"damage_reduction": [
3,
4,
5,
3
],
"enchantability": 8,
"durability": 36,
"toughness": 3.5,
"max_health": 20.0
},
"tool_stats": {
"efficiency": 10.0,
"harvest_level": 6,
"enchantability": 22,
"durability": 2943,
"damage": 5.0
}
},
Below is a guide as to what each individual attribute does and how it affects items in the mod.
-
name
- The name of the metal, used to identify to which metal the stats belong to. Changing this will break things. -
hardness
- The hardness of the ore block, or in other words, how long it takes to break it. Hardness wiki page. -
blast_resistance
- The blast resistance of the ore block and other blocks made out this metal. Blast resistance wiki page. -
ore_harvest_level
- The minimum required harvest level of the tool that will be able to harvest the ore. Ores harvestability wiki page. -
color
- The hex color code for the metal, used for the tooltip borders, liquid metal, and Tinkers Construct tool parts.
-
damage_reduction
- 4 Values representing damage reduction for boots, leggings, chestplate, helmet. Defense points wiki page. -
enchantability
- The enchantability of armor. Higher values increase probability of getting better enchantments. Enchantability wiki page. -
durability
- The durability multiplier value of armor, the final durability of armor is a product of multiplying a base and this value. Armor durability wiki page.- Helmet: durability * 11
- Chestplate: durability * 16
- Leggings: durability * 15
- Boots: durability * 13
-
toughness
- The toughness value of each armor piece. Armor toughness wiki page. -
movement_speed*
- Additional movements speed gained while the armor is equipped. As it is in percentages, it is recommended to not to use values higher than 0.25 (stacks with other sources of bonus movements speed such as potion effects or tools). The movement_speed value is equally distributed between all pieces. So if the value is 0.4, each piece individually will only grant 0.1 movement speed bonus. -
knockback_resistance*
- Additional knockback resistance gained while the armor is equipped. The value is percentages, 1.0 will completely nullify any knockback. Much like movement_speed, the knockback_resistance value is equally distributed between all pieces. Knockback wiki page. -
max_health*
- Additional max health points gained while the armor is equipped. Behaves similarly to the health boost potion effect. The max_health value is equally distributed between all pieces.
-
efficiency
- The speed at which the the tools break blocks (not to be confused with the enchantment). Breaking speed wiki page. -
harvest_level
- The harvest level of the pickaxe made from this metal, allows to harvest ores with equal or lower harvest level. Pickaxe Harvest levels wiki page. -
enchantability
- The enchantability of tools. Higher values increase probability of getting better enchantments. Enchantability wiki page. -
durability
- The exact durability value of tools. Tool durability wiki page. -
damage
- Base damage for tools made out of this metal. Each tool also receives additional damage depending on its type. The two values are added up for the final damage.- Sword: damage + 4.0
- Axe: damage * 1.25 + 3.0
- NB: Axes gain an additional 25% of the bonus damage.
- Shovel: damage + 2.5
- Pickaxe: damage + 2.0
- Hoe: 1.0
- NB: All hoes, deal 1 damage. The damage value is instead added to attack speed.
-
attack_speed*
- The tool attack speed, the value is added (subtracted if negative) to the base value shown below.- Sword: 1.6 + attack_speed
- Axe: 1.5 + attack_speed - (base damage) / 10
- NB: Axes have a modified equation for calculating attack speed to offset the high damage scaling.
- Shovel: 1.4 + attack_speed
- Pickaxe: 1.2 + attack_speed
- Hoe: 1.0 + attack_speed + damage
- NB: As stated above, hoes also get a bonus to their attack speed from the damage stat.
-
movement_speed*
- Additional movements speed gained while the tool is held. As it is in percentages, it is recommended to not to use values higher than 0.25 (stacks with other sources of bonus movements speed such as potion effects or armor). -
max_health*
- Additional max health points gained while the tool is held. Behaves similarly to the health boost potion effect. -
reach_distance*
- The tools max range, the value is added (subtracted if negative) to the base value of 5. Range affects maximum distance at which blocks can be broken, placed (if in offhand) and the distance at which mobs and other players can be attacked. NB: The maximum range for attacking is capped at 6.
*
- Optional attribute