最近发生了什么事?(我退坑模组开发了)
由于大学学业、工作以及私人事务繁多,我在过去几个月里实在抽不出时间来更新我的模组,甚至无法回答问题和私信。因此,我认为暂时退出模组开发是更好的选择。
遗憾的是,这意味着我不会在近期将此模组更新至更高版本的 Minecraft。
如果有人对源代码感兴趣,我(终于……)将所有内容上传到了 GitHub(参见 Source)。
欢迎继续开发此模组 / 将其整合到你想要的任何项目中。如果有任何问题,请随时联系我!
Material Changer 是一个小型模组,允许你更改武器、工具和盔甲的各种属性。
此模组中的所有功能均通过配置文件(materialchanger.cfg)实现,该文件位于你的 config 文件夹中。
它是如何工作的?
要更改某项属性,你需要在 changer 部分添加一行新内容,格式如下:property;item;value
property:这代表你想要更改的属性名称。
允许的属性:
item:这代表你想要更改其属性的物品 ID。通常是模组 ID(或原版物品的 "minecraft"),后跟冒号,再后跟物品名称。例如:minecraft:iron_sword
value:这代表你想要将属性更改为的新值。
请注意,更改附魔性或采集等级会影响整个工具材质,这意味着你实际上只需更改其中一个工具即可。
不幸的是,这也意味着为一个物品更改这些属性会将更改应用于所有具有相同工具材质的物品(见下方示例)。
此外,目前你还无法更改剑的攻击速度。
示例
ATTACK_DAMAGE;minecraft:iron_axe;12
(将每把铁斧的攻击伤害提升至 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
(将每个原版钻石工具耐久度降至 500)
DURABILITY;minecraft:flint_and_steel;-1
(使打火石不可破坏)
STACKSIZE;minecraft:snowball;64
(将雪球堆叠上限增至 64)
HARVEST_LEVEL;minecraft:diamond_pickaxe;0
(将钻石镐的采集等级降至 0。现在它们甚至无法挖掘铁矿)
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
(使皮革盔甲拥有与钻石盔甲相同的防护力)
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:完全更改了金制工具、剑和护甲的属性。如你所见,我只修改了一件工具和一件护甲的附魔能力,因为它会影响整个金质材料的属性)
如果你能在 issues 标签页中报告任何错误或漏洞,我将不胜感激。谢谢!
如果你对未来的内容有任何建议,欢迎在评论区告诉我。:)
你可以在你的整合包中使用我的模组!
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!
评论 0
登录后参与评分
还没有评论,来抢沙发吧