modsmith Log in Log in Рус / Eng

Mining & Placing Animations

mining_and_placing_animations · 163441 downloads · GPL-3.0-only

client: required · server: unsupported (declared by the mod author)

Adds customizable animations to blocks when mining and placing! (Mining Quakes successor)

Description

Banner

Animated Blocks

Blocks will now have an animation when mined and placed!

| Mining Animation | Placing Animation (only in 2.0.0+) | |---|---| | Mining Animation | Placing Animation |

Customization

The animations are fully customizable via resource packs.

<details> <summary>example</summary>

Resource Pack Tree

animations_config.json:

{
  "global": {                 // all the blocks will have these animations by default
    "mining_animation": "mining_and_placing_animations:animations/global_mining_animation",
    "placing_animation": "mining_and_placing_animations:animations/global_placing_animation"
  },
  "specific": [               // you can set a specific animation for certain block(s)
    {
      "blocks": [
        "minecraft:dirt",
        "minecraft:stone",
        "#minecraft:slabs"    // you can use tags
      ],
      "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"  // if you don't put a 'placing_animation', it will take the global placing animation, same for the mining animation
    }
  ],
  "mining_blacklist": [
    "#minecraft:beds",        // you can use tags
    "#minecraft:doors",
    "minecraft:oak_planks",
  ],
  "placing_blacklist": [
    "#minecraft:pressure_plates",
    "minecraft:rail",
    "minecraft:snow_block"
  ]
}

The animation files have to be under the directory 'animations'.

dirt_mining_animation.json (example of a possible mining animation, same for the placing animation):

{
  "duration": 0.15,           // length of the animation in seconds
  "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]
    }
  ]
}

You can have as many animations as you want!

</details>

Versions (48)

VersionMinecraftLoadersFile
2.0.0 1.20.1 forge download
2.0.0 1.20.1 fabric download
2.0.0 1.21, 1.21.1 neoforge download
2.0.0 1.21, 1.21.1 fabric download
2.0.0 1.21.4 neoforge download
2.0.0 1.21.4 fabric download
2.0.0 1.21.5 neoforge download
2.0.0 1.21.5 fabric download
2.0.0 1.21.6, 1.21.7, 1.21.8 neoforge download
2.0.0 1.21.6, 1.21.7, 1.21.8 fabric download
2.0.0 1.21.10, 1.21.9 neoforge download
2.0.0 1.21.10, 1.21.9 fabric download
2.0.0 1.21.11 neoforge download
2.0.0 1.21.11 fabric download
1.1.3 1.21.4 neoforge download
1.1.3 1.21.4 fabric download
1.1.3 1.21, 1.21.1 neoforge download
1.1.3 1.21, 1.21.1 fabric download
1.1.3 1.20.1 forge download
1.1.3 1.20.1 fabric download
1.1.2 1.20.1 forge download
1.1.2 1.20.1 fabric download
1.1.1 1.20.1 forge download
1.1.1 1.20.1 fabric download
1.1.1 1.21, 1.21.1 neoforge download
1.1.1 1.21, 1.21.1 fabric download
1.1.1 1.21.6, 1.21.7, 1.21.8 neoforge download
1.1.1 1.21.6, 1.21.7, 1.21.8 fabric download
1.1.1 1.21.5 neoforge download
1.1.1 1.21.5 fabric download
1.1.1 1.21.4 neoforge download
1.1.1 1.21.4 fabric download
1.1.0 1.21.1 neoforge download
1.1.0 1.21.1 fabric download
1.1.0 1.21.6, 1.21.7, 1.21.8 neoforge download
1.1.0 1.21.6, 1.21.7, 1.21.8 fabric download
1.1.0 1.21.4 neoforge download
1.1.0 1.21.4 fabric download
1.1.0 1.21.5 neoforge download
1.1.0 1.21.5 fabric download
1.0.4 1.21.4 neoforge download
1.0.4 1.21.4 fabric download
1.0.4 1.21.5, 1.21.6, 1.21.7, 1.21.8 neoforge download
1.0.4 1.21.5, 1.21.6, 1.21.7, 1.21.8 fabric download
1.0.3 1.21.5, 1.21.6, 1.21.7, 1.21.8 neoforge download
1.0.3 1.21.5, 1.21.6, 1.21.7, 1.21.8 fabric download
1.0.2 1.21.4 neoforge download
1.0.2 1.21.4 fabric download

Modrinth page →