
Animated Blocks
挖掘和放置方块时,现在将带有动画效果!
| 挖掘动画 | 放置动画(仅限 2.0.0+ 版本) |
|---|---|
![]() |
![]() |
自定义
该模组支持通过资源包完全自定义动画。
示例

animations_config.json:
{
"global": { // 所有方块默认使用这些动画
"mining_animation": "mining_and_placing_animations:animations/global_mining_animation",
"placing_animation": "mining_and_placing_animations:animations/global_placing_animation"
},
"specific": [ // 你可以为特定方块设置专属动画
{
"blocks": [
"minecraft:dirt",
"minecraft:stone",
"#minecraft:slabs" // 可以使用标签
],
"mining_animation": "mining_and_placing_animations:animations/dirt_mining_animation",
"placing_animation": "mining_and_placing_animations:animations/dirt_placing_animation"
},
{
"blocks": [
"minecraft:cobblestone"
],
"mining_animation": "mining_and_placing_animations:animations/cobblestone" // 如果未指定 'placing_animation',则使用全局放置动画;同理,若未指定挖掘动画,则使用全局挖掘动画
}
],
"mining_blacklist": [
"#minecraft:beds", // 可以使用标签
"#minecraft:doors",
"minecraft:oak_planks",
],
"placing_blacklist": [
"#minecraft:pressure_plates",
"minecraft:rail",
"minecraft:snow_block"
]
}
动画文件必须位于 'animations' 目录下。
dirt_mining_animation.json(挖掘动画示例,放置动画结构相同):
{
"duration": 0.15, // 动画持续时间(秒)
"pivot_point": [0.5, 1.0, 0.5],
"keyframes": [
{
"time": 0.0,
"translation": [0.0, 0.0, 0.0],
"rotation": [-22.5, 0.0, 45.0],
"scale": [0.5, 0.5, 0.5]
},
{
"time": 0.05,
"translation": [20.0, 0.0, -20.0],
"rotation": [0.0, 0.0, 0.0],
"scale": [1.0, 1.0, 1.0]
},
{
"time": 0.10,
"translation": [0.0, -15.0, 0.0],
"rotation": [0.0, -90.0, 0.0],
"scale": [1.5, 1.5, 1.5]
},
{
"time": 0.15,
"translation": [0.0, 0.0, 0.0],
"rotation": [0.0, 0.0, 0.0],
"scale": [1.0, 1.0, 1.0]
}
]
}
你可以创建任意数量的动画!
你是这个资源的作者?登录后可认领此资源。
相似资源
鞘翅纹饰Elytra Trims
KikuGie
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
装饰装备
477
AAA Particles
ChloePrime
适用于 MC 1.18+ 的 Effekseer 加载器
前置装饰
186
生态幻境Biomes O' Plenty
Forstride
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
冒险装饰
159
格雷科技现代版GregTech CEu Modern
serenibyss
基于 GTCEu 1.12.2 的现代 GregTech
装饰科技
129
舒适用品Comforts
TheIllusiveC4
添加睡袋和吊床,分别用于便携性和昼夜转换,同时不会设置新的出生点。共有16种颜色可选!
冒险装饰
100
更好的末地BetterEnd
quiqueck
为你的终界增添新生物群系、神秘仪式和全新生物
装饰生物
98


评论 0
登录后参与评分
还没有评论,来抢沙发吧