
More Mining Stages 允许对方块破坏动画进行完全由资源包驱动的自定义!它还包含一个内置的资源包,以非常原版友好的风格将动画帧数翻倍。
? 资源包指南
为 More Mining Stages 制作资源包非常简单。
在你的 assets/ 目录下,添加一个新文件夹,命名为 moreminingstages。在该文件夹内创建一个新的 JSON 文件,并将其命名为 mining_stages。该文件应包含一个名为 "textures" 的单个数组对象,其中列出了纹理的位置。
在下面的示例中,向数组添加了 3 个帧。你可以在此处添加任意数量的帧:它们将均匀分布在整个挖掘动画中。
{
"textures": [
"block/destroy_stage_0", // 带有隐式命名空间的 vanilla 引用
"minecraft:block/destroy_stage_1", // 带有显式命名空间的 vanilla 引用
"example_pack:my_texture" // 非 vanilla 引用,用于位于 textures/block/ 之外的纹理
// ...
]
}
? 与顺序无关的透明度 (Order-Independent Transparency)
自版本 26.3 起,当在视频设置中启用“改进的透明度”(Improved Transparency)时,每个纹理还必须有一个用于半透明方块(例如染色玻璃)的对应纹理。
More Mining Stages 通过在相同指定位置期望带有后缀 _oit 的纹理来处理此问题。如果你想指定唯一的路径,可以使用以下语法替代简单的字符串:
{
"textures": [
{
"texture": "example_pack:first_texture",
"texture_oit": "example_pack:first_oit_texture"
},
{
"texture": "example_pack:second_texture",
"texture_oit": "example_pack:second_oit_texture"
},
"example_pack:third_texture_with_suffixed",
// ...
]
}
请注意,Minecraft 原版的文件使用这种方式,因为其 OIT 纹理命名为 destroy_oit_stage_<index>,而 不是 destroy_stage_<index>_oit。这样做的原因有三点:
- 为了方便资源包开发者
- 为了更容易从 26.2 版本更新资源包
- 为了为资源包提供针对 26.2 版本的额外向后兼容性

More Mining Stages allows for full, resource-driven customization of the block breaking animation! It also contains a built-in resource pack which doubles the number of frames in the animation in a very vanilla-friendly style.
? Resource Pack Guide
Making a resource pack for More Mining Stages is very, very easy.
Under your assets/ directory, add a new folder called moreminingstages. Create a new JSON file inside that folder, and call it mining_stages. That file should have a single array object inside named "textures" which contains a list of texture locations.
In the following example, 3 frames have been added to the array. You can add as many frames as you'd like here: they will spread out evenly across the entire mining animation.
{
"textures": [
"block/destroy_stage_0", // vanilla reference with implicit namespace
"minecraft:block/destroy_stage_1", // vanilla reference with explicit namespace
"example_pack:my_texture" // non-vanilla reference for outside textures/block/
// ...
]
}
? Order-Independent Transparency
Since 26.3, each texture must also have a counterpart for translucent blocks (e.g. stained glass) when Improved Transparency is enabled in the video settings.
More Mining Stages handles this by expecting textures at the same specified locations with the suffix _oit. If you'd like to specify unique paths instead, you can use the following syntax in place of the simple string:
{
"textures": [
{
"texture": "example_pack:first_texture",
"texture_oit": "example_pack:first_oit_texture"
},
{
"texture": "example_pack:second_texture",
"texture_oit": "example_pack:second_oit_texture"
},
"example_pack:third_texture_with_suffixed",
// ...
]
}
Note that the file for vanilla Minecraft uses this because its OIT textures are named destroy_oit_stage_<index> and not destroy_stage_<index>_oit. It was handled this way for 3 reasons:
- To be more convenient for resource pack developers
- To be easier to update resource packs from 26.2
- To provide resource packs with additional backwards compatibility for 26.2
评论 0
登录后参与评分
还没有评论,来抢沙发吧