本模组使用经过修改的 Fabric 版本(Babric),并专为 Better Than Adventure 设计,这是 Minecraft b1.7.3 的一个重度修改版本!欲了解更多信息,请加入该项目页面中链接的 Discord 服务器。
? 简介
我在游玩现代版本时经常搭配原版微调。我最喜欢的数据包之一是“工具磨损”(diminishing tools)。
此模组旨在将这一功能添加到 BTA 中。未来这将可以通过资源包实现,但目前只能通过模组来实现。
? 工具磨损
Wear & Tear 支持大多数工具。工具在耐久度剩余 25% 时开始显示磨损痕迹,并在 15% 和 5% 耐久度时进一步显示更多磨损迹象。
本模组仅适用于客户端,应允许玩家连接到原版服务器。除内置于 jar 文件中的 toml 外,本模组无其他依赖项。
?️ 模组支持
模组开发者可以通过定义配置来适配此模组,从而加载物品的新纹理。
重要的是,必须以某种形式保留对 super.getIcon() 的调用,以便正确解析图标。
以下是配置文件示例。给定文件的名称为 [物品名称].item.toml:
type = "durability" # metadata/durability
textures = [
{name = "a", threshold = 0.75}, # name 是纹理的名称
{name = "b", threshold = 0.85}, # threshold 是显示此图标的缺失耐久度点
{name = "c", threshold = 0.95} # 游戏假设所有图标都位于目录 assets/[modID]/textures/item/[item.name]/ 中
]
Type metadata 允许使用特定的元数据值(以获得更高的精度)
? 资源包支持
类似于模组开发,Wear and Tear 也支持资源包。只需为物品定义配置(参见模组支持部分),包含所需的纹理并将其打包为有效的纹理包即可。
游戏可以自由地加载和卸载这些纹理。
⚽ 目标:
- 重新制作纹理(目前仍使用 diminishing tools 的纹理)
- 弓和钓鱼竿的磨损纹理。
- ArmorIcon 也会随耐久度降低而变化
- ArmorModel 支持,玩家穿戴的盔甲模型会根据缺失的耐久度发生变化。
This mod uses a modified version of Fabric (Babric) and is designed exclusively for Better Than Adventure, a heavily modified version of Minecraft b1.7.3! For more information, join the Discord server linked on this project's page.
? About
I often play with vanilla tweaks when playing modern. One of my favorite datapacks is diminishing tools.
This mod aim to add this functionality to BTA. In future this will be possible via assets pack but for now is only possible though modding.
? Diminishing Tools
Wear & Tear support most tools. Tool start showing marks of wear and tear at 25% durability and further signs at 15, 5% durability.
This mod is client side only, and should allow players to connect to vanilla server. The mod has no dependencies aside toml that is budles into the jar.
?️ Mod Support
Modder are happy to adopted this mod by defining a configuration by which the item new texture are loaded.
Importantly the call to super.getIcon() has to be preserved in some form for the icon to be resolved correctly.
Here is an example of the configuration file. The name of a given file is [name of Item].item.toml:
type = "durability" # metadata/durability
textures = [
{name = "a", threshold = 0.75}, # name is the name of the texture
{name = "b", threshold = 0.85}, # threshold, point of mising durability at whice this icon is shown
{name = "c", threshold = 0.95} # The game assumes all icon are in the directory : assets/[modID]/textures/item/[item.name]/
]
Type metadata allows the use of specific metadata value (for more precision)
? Asset pack support
Simular to modding Wear and Tear also support asset packs. Just define the configuration (see Mod Support) for the item, include the desired texture and package it as a valid texture pack.
The game will be able to load and unload these textures freely.
⚽ Goals:
- Redo the textures (still using diminishing tools texture as of now)
- Diminishing texture for bow and fishing rod.
- ArmorIcon, also change with deminishing durability
- ArmorModel support, player worn armor model changes based on missing durability.
评论 0
登录后参与评分
还没有评论,来抢沙发吧