What's going on lately? (I quit modding)
There is so much going on with university, work and private stuff so I couldn't find the time to update my mods or even answer questions and private messages in the past months and therefore I think it's better to quit modding for now.
This unfortunately means I'm not updating this mod to a newer Minecraft version anytime soon.
If someone is interested in the source code I (finally...) put everything on github (See Source)
Feel free to continue this mod / integrate this mod in whatever project you want. Don't hesitate to contact me if you have any questions!
Material Changer is a small mod, which allows you to change various properties of weapons, tools and armor.
Everything in this mod works via your config file (materialchanger.cfg) which can be found in your config folder.
How does it work?
To change a property you need to add a new line with the following format to your changer section: property;item;value
property: This represents the name of the property you want to change.
Allowed properties:
- ARMOR_PROTECTION: Determines how many armor points the armor item should have
- ARMOR_TOUGHNESS: Determines the toughness of your armor item which gives you extra protection
- ATTACK_DAMAGE: Determines the attack damage vs entities of your tool/sword
- ATTACK_SPEED: Determines the attack speed of your tool (Doesn't work with swords at the moment)
- DURABILITY: Determines how much uses your item should have. Use -1 for infinite durability
- EFFICIENCY: Determines how fast your tool should be able to mine
- ENCHANTABILITY: Determines how "enchantable" your item should be
- HARVEST_LEVEL: Determines if your tool can mine harder blocks
- STACKSIZE: Determines the max size a stack of the given item can have
item: This represents the item id of the item of which you want to change the property. This is usually the mod id (or "minecraft" for vanilla) followed by a colon followed by the item name. e.g. minecraft:iron_sword
value: This represents the new value which you want to change the property to.
Keep in mind that changing the enchantability or harvest level affects the whole tool material, which means that you technically only need to change it for one tool.
Unfortunately this also means that changing those attributes for one item also applies the change to every item with the same tool material (example below).
Also, you can't change the attack speed of swords at the moment.
Examples
ATTACK_DAMAGE;minecraft:iron_axe;12
(Increases the attack damage of every iron axe to 12)
DURABILITY;minecraft:diamond_sword;500
DURABILITY;minecraft:diamond_pickaxe;500
DURABILITY;minecraft:diamond_axe;500
DURABILITY;minecraft:diamond_shovel;500
DURABILITY;minecraft:diamond_hoe;500
(Decreases the durability of every vanilla diamond tool to 500)
DURABILITY;minecraft:flint_and_steel;-1
(Makes flint and steel unbreakable)
STACKSIZE;minecraft:snowball;64
(Increases the stacksize of snowballs to 64)
HARVEST_LEVEL;minecraft:diamond_pickaxe;0
(Decreases the harvest level of diamond pickaxes to 0. They can't even mine iron ore now)
ARMOR_PROTECTION;minecraft:leather_helmet;3
ARMOR_PROTECTION;minecraft:leather_chestplate;8
ARMOR_PROTECTION;minecraft:leather_leggings;6
ARMOR_PROTECTION;minecraft:leather_boots;3
ARMOR_TOUGHNESS;minecraft:leather_helmet;2
ARMOR_TOUGHNESS;minecraft:leather_chestplate;2
ARMOR_TOUGHNESS;minecraft:leather_leggings;2
ARMOR_TOUGHNESS;minecraft:leather_boots;2
(Makes leather armor as protective as diamond armor)
ARMOR_PROTECTION;minecraft:golden_helmet;2
ARMOR_PROTECTION;minecraft:golden_chestplate;6
ARMOR_PROTECTION;minecraft:golden_leggings;5
ARMOR_PROTECTION;minecraft:golden_boots;2
ARMOR_TOUGHNESS;minecraft:golden_helmet;3
ARMOR_TOUGHNESS;minecraft:golden_chestplate;3
ARMOR_TOUGHNESS;minecraft:golden_leggings;3
ARMOR_TOUGHNESS;minecraft:golden_boots;3
ATTACK_DAMAGE;minecraft:golden_sword;6.5
ATTACK_DAMAGE;minecraft:golden_pickaxe;4.5
ATTACK_DAMAGE;minecraft:golden_axe;9
ATTACK_DAMAGE;minecraft:golden_shovel;5
ATTACK_SPEED;minecraft:golden_axe;0.95
ATTACK_SPEED;minecraft:golden_hoe;3.5
DURABILITY;minecraft:golden_helmet;212
DURABILITY;minecraft:golden_chestplate;308
DURABILITY;minecraft:golden_leggings;289
DURABILITY;minecraft:golden_boots;250
DURABILITY;minecraft:golden_sword;420
DURABILITY;minecraft:golden_pickaxe;420
DURABILITY;minecraft:golden_axe;420
DURABILITY;minecraft:golden_shovel;420
DURABILITY;minecraft:golden_hoe;420
EFFICIENCY;minecraft:golden_pickaxe;7
EFFICIENCY;minecraft:golden_axe;7
EFFICIENCY;minecraft:golden_shovel;7
HARVEST_LEVEL;minecraft:golden_pickaxe;2
ENCHANTABILITY;minecraft:golden_pickaxe;16
ENCHANTABILITY;minecraft:golden_helmet;19
(Better Gold: Changes golden tools, swords and armor properties completley. As you can see, I only changed the enchantability for one tool and one armor item since it affects the whole gold material)
I would be very grateful if you could report any bugs or glitches in the issues tab. Thanks!
If you have any suggestions for future stuff go ahead and tell me about them in the comment section. :)
You are allowed to use my mod in your modpack!
I downloaded the mod but there is no config file to go with it I checked multiple folders including the config folder.
In reply to andone411010:
Place a file named `materialchanger.cfg` in your `minecraft/config` directory
Here's an example what part of my file looks like:
# Configuration file
##########################################################################################################
# changer
#--------------------------------------------------------------------------------------------------------#
# This section allows you to change attributes of items. Each "change" takes 1 line with the following format:
# property;item;value
#
# property: The property you want to change. Allowed properties: ARMOR_PROTECTION, ARMOR_TOUGHNESS, ATTACK_DAMAGE, ATTACK_SPEED, DURABILITY, EFFICIENCY, ENCHANTABILITY, HARVEST_LEVEL, STACKSIZE
# item: The id of the item. This is usually the mod id (or "minecraft" for vanilla) followed by a colon followed by the item name. e.g. minecraft:iron_sword
# value: The new value for the property.
#
# Keep in mind that changing the enchantability or harvest level affects the whole tool material, which means that you technically only need to change it for one tool.
# Unfortunately this also means that changing those attributes for one item also applies the change to every item with the same tool material (example below).
# Also, you can't change the attack speed of swords at the moment. Sorry!
#
# Examples:
#
# ATTACK_DAMAGE;minecraft:iron_axe;12
# (Increases the attack damage of every iron axe to 12)
#
# DURABILITY;minecraft:diamond_sword;500
# DURABILITY;minecraft:diamond_pickaxe;500
# DURABILITY;minecraft:diamond_axe;500
# DURABILITY;minecraft:diamond_shovel;500
# DURABILITY;minecraft:diamond_hoe;500
# (Decreases the durability of every vanilla diamond tool to 500)
#
# DURABILITY;minecraft:flint_and_steel;-1
# (Makes flint and steel unbreakable)
#
# STACKSIZE;minecraft:snowball;64
# (Increases the stacksize of snowballs to 64)
#
# HARVEST_LEVEL;minecraft:diamond_pickaxe;0
# (Decreases the harvest level of diamond pickaxes to 0. They can't even mine iron ore now)
#
# ARMOR_PROTECTION;minecraft:leather_helmet;3
# ARMOR_PROTECTION;minecraft:leather_chestplate;8
# ARMOR_PROTECTION;minecraft:leather_leggings;6
# ARMOR_PROTECTION;minecraft:leather_boots;3
# ARMOR_TOUGHNESS;minecraft:leather_helmet;2
# ARMOR_TOUGHNESS;minecraft:leather_chestplate;2
# ARMOR_TOUGHNESS;minecraft:leather_leggings;2
# ARMOR_TOUGHNESS;minecraft:leather_boots;2
# (Makes leather armor as protective as diamond armor)
#
# ARMOR_PROTECTION;minecraft:golden_helmet;2
# ARMOR_PROTECTION;minecraft:golden_chestplate;6
# ARMOR_PROTECTION;minecraft:golden_leggings;5
# ARMOR_PROTECTION;minecraft:golden_boots;2
# ARMOR_TOUGHNESS;minecraft:golden_helmet;3
# ARMOR_TOUGHNESS;minecraft:golden_chestplate;3
# ARMOR_TOUGHNESS;minecraft:golden_leggings;3
# ARMOR_TOUGHNESS;minecraft:golden_boots;3
# ATTACK_DAMAGE;minecraft:golden_sword;6.5
# ATTACK_DAMAGE;minecraft:golden_pickaxe;4.5
# ATTACK_DAMAGE;minecraft:golden_axe;9
# ATTACK_DAMAGE;minecraft:golden_shovel;5
# ATTACK_SPEED;minecraft:golden_axe;0.95
# ATTACK_SPEED;minecraft:golden_hoe;3.5
# DURABILITY;minecraft:golden_helmet;212
# DURABILITY;minecraft:golden_chestplate;308
# DURABILITY;minecraft:golden_leggings;289
# DURABILITY;minecraft:golden_boots;250
# DURABILITY;minecraft:golden_sword;420
# DURABILITY;minecraft:golden_pickaxe;420
# DURABILITY;minecraft:golden_axe;420
# DURABILITY;minecraft:golden_shovel;420
# DURABILITY;minecraft:golden_hoe;420
# EFFICIENCY;minecraft:golden_pickaxe;7
# EFFICIENCY;minecraft:golden_axe;7
# EFFICIENCY;minecraft:golden_shovel;7
# HARVEST_LEVEL;minecraft:golden_pickaxe;2
# ENCHANTABILITY;minecraft:golden_pickaxe;16
# ENCHANTABILITY;minecraft:golden_helmet;19
# (Better Gold: Changes golden tools, swords and armor properties completley. As you can see, I only changed the enchantability for one tool and one armor item since it affects the whole gold material)
##########################################################################################################
changer {
# [default: ]
S:changer <
DURABILITY;minecraft:wooden_sword;9
DURABILITY;minecraft:wooden_shovel;9
DURABILITY;minecraft:wooden_pickaxe;9
DURABILITY;minecraft:wooden_axe;9
DURABILITY;minecraft:wooden_hoe;9
DURABILITY;tp:wooden_multi;27
DURABILITY;tp:wooden_battle;9
DURABILITY;advancedcombat:advanced_wooden_sword;27
DURABILITY;advancedcombat:wooden_helm;16
DURABILITY;advancedcombat:wooden_chest;19
DURABILITY;advancedcombat:wooden_legs;18
DURABILITY;advancedcombat:wooden_boots;17
DURABILITY;minecraft:shield;40
ATTACK_DAMAGE;tp:wooden_multi;3.5
ATTACK_DAMAGE;tp:wooden_battle;3.5
ATTACK_DAMAGE;advancedcombat:advanced_wooden_sword;3.5
ARMOR_PROTECTION;advancedcombat:wooden_helm;1
ARMOR_PROTECTION;advancedcombat:wooden_chest;1
ARMOR_PROTECTION;advancedcombat:wooden_legs;1
ARMOR_PROTECTION;advancedcombat:wooden_boots;1
ARMOR_TOUGHNESS;advancedcombat:wooden_helm;0
ARMOR_TOUGHNESS;advancedcombat:wooden_chest;0
ARMOR_TOUGHNESS;advancedcombat:wooden_legs;0
ARMOR_TOUGHNESS;advancedcombat:wooden_boots;0
DURABILITY;mowziesmobs:blowgun;84
DURABILITY;quark:witch_hat;-1
DURABILITY;minecolonies:pirate_cap;36
DURABILITY;minecolonies:pirate_legs;36
ARMOR_PROTECTION;minecolonies:pirate_cap;1
ARMOR_PROTECTION;minecolonies:pirate_legs;1
ARMOR_TOUGHNESS;minecolonies:pirate_cap;0
ARMOR_TOUGHNESS;minecolonies:pirate_legs;0
DURABILITY;minecolonies:pirate_hat;75
DURABILITY;minecolonies:pirate_top;100
DURABILITY;minecolonies:pirate_leggins;95
DURABILITY;minecolonies:pirate_boots;85
ARMOR_PROTECTION;minecraft:leather_helmet;1
ARMOR_PROTECTION;minecraft:leather_chestplate;1
ARMOR_PROTECTION;minecraft:leather_leggings;1
ARMOR_PROTECTION;minecraft:leather_boots;1
ARMOR_PROTECTION;primitivemobs:camouflage_helmet;1
ARMOR_PROTECTION;primitivemobs:camouflage_chestplate;1
ARMOR_PROTECTION;primitivemobs:camouflage_leggings;1
ARMOR_PROTECTION;primitivemobs:camouflage_boots;1
ARMOR_PROTECTION;minecolonies:pirate_hat;1
ARMOR_PROTECTION;minecolonies:pirate_top;1
ARMOR_PROTECTION;minecolonies:pirate_leggins;1
ARMOR_PROTECTION;minecolonies:pirate_boots;1
ARMOR_TOUGHNESS;minecolonies:pirate_hat;0
ARMOR_TOUGHNESS;minecolonies:pirate_top;0
ARMOR_TOUGHNESS;minecolonies:pirate_leggins;0
ARMOR_TOUGHNESS;minecolonies:pirate_boots;0
DURABILITY;ionitems:ion_head;125
DURABILITY;ionitems:ion_chest;125
DURABILITY;ionitems:ion_legs;125
DURABILITY;ionitems:ion_boots;125
ARMOR_PROTECTION;ionitems:ion_head;1
ARMOR_PROTECTION;ionitems:ion_chest;1
ARMOR_PROTECTION;ionitems:ion_legs;1
ARMOR_PROTECTION;ionitems:ion_boots;1
ARMOR_TOUGHNESS;ionitems:ion_head;2
ARMOR_TOUGHNESS;ionitems:ion_chest;2
ARMOR_TOUGHNESS;ionitems:ion_legs;2
ARMOR_TOUGHNESS;ionitems:ion_boots;2
DURABILITY;tp:bone_sword;45
DURABILITY;tp:bone_spade;45
DURABILITY;tp:bone_pickaxe;45
DURABILITY;tp:bone_axe;45
DURABILITY;tp:bone_hoe;45
DURABILITY;tp:bone_helmet;80
DURABILITY;tp:bone_chestplate;95
DURABILITY;tp:bone_leggings;90
DURABILITY;tp:bone_boots;85
ATTACK_DAMAGE;tp:bone_sword;4.2
ATTACK_DAMAGE;tp:bone_axe;5.8
ATTACK_SPEED;tp:bone_axe;1
ARMOR_PROTECTION;tp:bone_leggings;2
DURABILITY;tp:flint_sword;72
DURABILITY;tp:flint_spade;72
DURABILITY;tp:flint_pickaxe;72
DURABILITY;tp:flint_axe;72
DURABILITY;tp:flint_hoe;72
DURABILITY;tp:flint_helmet;90
DURABILITY;tp:flint_chestplate;135
DURABILITY;tp:flint_leggings;125
DURABILITY;tp:flint_boots;105
DURABILITY;tp:flint_multi;216
DURABILITY;tp:flint_shears;72
ATTACK_DAMAGE;tp:flint_sword;4.3
ATTACK_DAMAGE;tp:flint_axe;6
ATTACK_DAMAGE;tp:flint_multi;3.6
ATTACK_SPEED;tp:flint_axe;1
ARMOR_PROTECTION;tp:flint_chestplate;2
ARMOR_PROTECTION;tp:flint_leggings;2
DURABILITY;sparkshammers:hammer_mini;180
DURABILITY;extrautils2:sickle_stone;179
DURABILITY;tp:stone_multi;393
DURABILITY;primitivemobs:goblin_mace;393
DURABILITY;tp:stone_helmet;165
DURABILITY;tp:stone_chestplate;240
DURABILITY;tp:stone_leggings;225
DURABILITY;tp:stone_boots;195
ATTACK_DAMAGE;tp:stone_multi;3.7
ATTACK_DAMAGE;tp:stone_battle;3.7
ARMOR_PROTECTION;tp:stone_helmet;2
ARMOR_PROTECTION;tp:stone_chestplate;4
ARMOR_PROTECTION;tp:stone_leggings;3
ARMOR_PROTECTION;tp:stone_boots;2
ARMOR_TOUGHNESS;tp:stone_helmet;0
ARMOR_TOUGHNESS;tp:stone_chestplate;0
ARMOR_TOUGHNESS;tp:stone_leggings;0
ARMOR_TOUGHNESS;tp:stone_boots;0
DURABILITY;minecraft:bow;84
DURABILITY;tp:iron_multi;750
DURABILITY;minecolonies:iron_scimitar;250
DURABILITY;msmlegacy:relic_candy;250
DURABILITY;minecraft:chainmail_helmet;200
DURABILITY;minecraft:chainmail_chestplate;200
DURABILITY;minecraft:chainmail_leggings;200
DURABILITY;minecraft:chainmail_boots;200
DURABILITY;minecraft:iron_helmet;250
DURABILITY;minecraft:iron_chestplate;250
DURABILITY;minecraft:iron_leggings;250
DURABILITY;minecraft:iron_boots;250
DURABILITY;minecolonies:pirate_chest;220
DURABILITY;minecolonies:pirate_shoes;220
DURABILITY;advancedcombat:advanced_shield;180
DURABILITY;wolfarmor:chainmail_wolf_armor;250
ATTACK_DAMAGE;minecolonies:iron_scimitar;6
ATTACK_DAMAGE;msmlegacy:relic_candy;6.1
ATTACK_DAMAGE;tp:iron_multi;3.8
ATTACK_DAMAGE;tp:iron_battle;3.8
ARMOR_PROTECTION;minecraft:chainmail_helmet;2
ARMOR_PROTECTION;minecraft:chainmail_chestplate;4
ARMOR_PROTECTION;minecraft:chainmail_leggings;3
ARMOR_PROTECTION;minecraft:chainmail_boots;2
ARMOR_PROTECTION;minecraft:iron_helmet;2
ARMOR_PROTECTION;minecraft:iron_chestplate;5
ARMOR_PROTECTION;minecraft:iron_leggings;4
ARMOR_PROTECTION;minecraft:iron_boots;2
ARMOR_PROTECTION;minecolonies:pirate_chest;4
ARMOR_PROTECTION;minecolonies:pirate_shoes;2
ARMOR_TOUGHNESS;minecraft:iron_helmet;1
ARMOR_TOUGHNESS;minecraft:iron_chestplate;1
ARMOR_TOUGHNESS;minecraft:iron_leggings;1
ARMOR_TOUGHNESS;minecraft:iron_boots;1
ARMOR_TOUGHNESS;minecolonies:pirate_chest;0
ARMOR_TOUGHNESS;minecolonies:pirate_shoes;0
DURABILITY;cyclicmagic:purple_helmet;250
DURABILITY;cyclicmagic:purple_chestplate;250
DURABILITY;cyclicmagic:purple_leggings;250
DURABILITY;cyclicmagic:purple_boots;250
ARMOR_PROTECTION;cyclicmagic:purple_helmet;1
ARMOR_PROTECTION;cyclicmagic:purple_chestplate;1
ARMOR_PROTECTION;cyclicmagic:purple_leggings;1
ARMOR_PROTECTION;cyclicmagic:purple_boots;1
ARMOR_TOUGHNESS;cyclicmagic:purple_helmet;8
ARMOR_TOUGHNESS;cyclicmagic:purple_chestplate;8
ARMOR_TOUGHNESS;cyclicmagic:purple_leggings;8
ARMOR_TOUGHNESS;cyclicmagic:purple_boots;8
DURABILITY;minecraft:golden_sword;250
DURABILITY;minecraft:golden_shovel;250
DURABILITY;minecraft:golden_pickaxe;250
DURABILITY;minecraft:golden_axe;250
DURABILITY;minecraft:golden_hoe;250
DURABILITY;tp:golden_multi;750
DURABILITY;tp:golden_battle;250
DURABILITY;minecolonies:chiefsword;250
DURABILITY;minecraft:golden_helmet;250
DURABILITY;minecraft:golden_chestplate;250
DURABILITY;minecraft:golden_leggings;250
DURABILITY;minecraft:golden_boots;250
DURABILITY;wolfarmor:gold_wolf_armor;250
ATTACK_DAMAGE;minecraft:golden_sword;6.1
ATTACK_DAMAGE;minecraft:golden_shovel;4.5
ATTACK_DAMAGE;minecraft:golden_pickaxe;4
ATTACK_DAMAGE;minecraft:golden_axe;9
ATTACK_DAMAGE;tp:golden_multi;3.8
ATTACK_DAMAGE;tp:golden_battle;3.8
ATTACK_DAMAGE;minecolonies:chiefsword;6.2
ATTACK_SPEED;minecraft:golden_hoe;3
ARMOR_PROTECTION;minecraft:golden_helmet;2
ARMOR_PROTECTION;minecraft:golden_chestplate;5
ARMOR_PROTECTION;minecraft:golden_leggings;4
ARMOR_PROTECTION;minecraft:golden_boots;2
ARMOR_TOUGHNESS;minecraft:golden_helmet;1
ARMOR_TOUGHNESS;minecraft:golden_chestplate;1
ARMOR_TOUGHNESS;minecraft:golden_leggings;1
ARMOR_TOUGHNESS;minecraft:golden_boots;1
DURABILITY;msmlegacy:relic_keyblade;250
DURABILITY;msmlegacy:relic_aqueous;375
DURABILITY;tp:lapis_helmet;250
DURABILITY;tp:lapis_chestplate;250
DURABILITY;tp:lapis_leggings;250
DURABILITY;tp:lapis_boots;250
ATTACK_DAMAGE;msmlegacy:relic_keyblade;6.2
ATTACK_DAMAGE;msmlegacy:relic_aqueous;6.3
ARMOR_PROTECTION;tp:lapis_helmet;2
ARMOR_PROTECTION;tp:lapis_chestplate;5
ARMOR_PROTECTION;tp:lapis_leggings;4
ARMOR_PROTECTION;tp:lapis_boots;2
ARMOR_TOUGHNESS;tp:lapis_helmet;1
ARMOR_TOUGHNESS;tp:lapis_chestplate;1
ARMOR_TOUGHNESS;tp:lapis_leggings;1
ARMOR_TOUGHNESS;tp:lapis_boots;1
>
}
##########################################################################################################
# general
#--------------------------------------------------------------------------------------------------------#
# General settings
##########################################################################################################
general {
}
```
my problem is I can't figure out where to write the code. Under general? Under changer? Am big confusion.
In reply to bigpeterlittlenuts:
see my post above for example on how to configure and use. I put my customizations under changer, which worked as I desired. I haven't played around with adding to the general section, not sure if it matters?
If only this mod supported metadata, like having different armor values based off durability...(Oldschool armor anyone?)
In reply to Terra_B_Welch:
There are mods for that, like ArmorCurve
In reply to lumberjacksparrow:
I thought all armorcurve did was tweak modern armor to be more capped by adding diminishing returns, I didn't read up on anything related to oldschool armor,
In reply to Terra_B_Welch:
It has a lot of tweakable features, pretty sure old school armor mechanics are included.
In reply to lumberjacksparrow:
Armor Curve does allow for protection based on durability, yes, but not all armor protects the same amount like in alpha/beta.
I hope someone updates this to 1.16.5, or something similar comes out. Easily one of the most useful mods for pack makers.
In reply to vizthex:
it's in the works rn it's going to 1.14.4 first
In reply to redrosewarrior1:
I get the feeling that isn't going to happen.
In reply to 4zy1:
Lmao this guy has been beta testing for the last 2 goddamn years in the same time i managed to make my own implementation and that was a year ago.
In reply to h4voktwitch:
sauce?
In reply to 4zy1:
its a weird jerry rigged solution i downloaded golden age combat by fusz and changed the code in it to change damage values and then used a datapack to change swing speed which is why i needed material changer. Looks like there's a new mod on the block called property modifier might look into that when i get that itch to play minecraft every 6 months.
In reply to h4voktwitch:
fair enough
In reply to vizthex:
check Properties Modifier.
In reply to oMeranha_:
ay nice, thanks man!
Help, I have a hard time understanding this mod. If I wanted to make a gold chestplate have 10 armor and 1000 points of durability, what would I have to write and where? Could you give me an example? Thanks.
Yeah, seems fishy for me too, since the mod is supossedly ready for quite a few months now, why now slow down with the beta? Sounds fake, not gonna lie