diff --git a/src/main/resources/assets/ibg/animations/animated_block.animation.json b/src/main/resources/assets/ibg/animations/animated_block.animation.json index 7e177eb..1de5aff 100644 --- a/src/main/resources/assets/ibg/animations/animated_block.animation.json +++ b/src/main/resources/assets/ibg/animations/animated_block.animation.json @@ -3,15 +3,34 @@ "animations": { "idle": { "loop": true, - "animation_length": 2.96, + "animation_length": 2, "bones": { "bone2": { + "rotation": { + "0.0": { + "vector": [0, 0, 0] + }, + "1.0": { + "vector": [0, 180, 0] + }, + "2.0": { + "vector": [0, 360, 0] + } + }, "position": { - "vector": [0, "math.sin(query.anim_time*120)", 0] + "0.0": { + "vector": [0, 0, 0] + }, + "1.0": { + "vector": [0, 2, 0] + }, + "2.0": { + "vector": [0, 0, 0] + } } } } } }, "geckolib_format_version": 2 -} +} \ No newline at end of file diff --git a/src/main/resources/assets/ibg/geo/animated_block.geo.json b/src/main/resources/assets/ibg/geo/animated_block.geo.json index 9cea90f..de3e9ad 100644 --- a/src/main/resources/assets/ibg/geo/animated_block.geo.json +++ b/src/main/resources/assets/ibg/geo/animated_block.geo.json @@ -13,22 +13,20 @@ "bones": [ { "name": "bone", - "pivot": [0, 0, 0], + "pivot": [0, 1, 0], "cubes": [ - {"origin": [-3, 4, -3], "size": [6, 2, 6], "uv": [0, 32]}, - {"origin": [-1, 6, -1], "size": [2, 4.5, 2], "uv": [0, 8]}, - {"origin": [-6, 2, -6], "size": [12, 2, 12], "uv": [0, 18]}, - {"origin": [-8, 0, -8], "size": [16, 2, 16], "uv": [0, 0]} + {"origin": [-7, 1, -7], "size": [14, 5, 14], "inflate": 1, "uv": [0, 0]} ] }, { "name": "bone2", - "pivot": [0, 0, 0], + "parent": "bone", + "pivot": [0, 14, 0], "cubes": [ - {"origin": [-2, 12, -2], "size": [4, 4, 4], "uv": [0, 0]} + {"origin": [-1, 9, -1], "size": [2, 11, 2], "uv": [0, 19]} ] } ] } ] -} +} \ No newline at end of file diff --git a/src/main/resources/assets/ibg/models/block/animated_block.json b/src/main/resources/assets/ibg/models/block/animated_block.json index 8cc1e85..c61ebf3 100644 --- a/src/main/resources/assets/ibg/models/block/animated_block.json +++ b/src/main/resources/assets/ibg/models/block/animated_block.json @@ -7,57 +7,21 @@ ], "display": { "thirdperson_righthand": { + "scale": [ + 0.5, + 0.5, + 0.5 + ] + }, + "gui": { "rotation": [ - 22, - 0, - 0 + 10.81, + -60.3, + -1.32 ], "translation": [ - 0, - -2, - 0 - ], - "scale": [ - 0.4, - 0.4, - 0.4 - ] - }, - "thirdperson_lefthand": { - "rotation": [ - 22, - 0, - 0 - ], - "translation": [ - 0, - -2, - 0 - ], - "scale": [ - 0.4, - 0.4, - 0.4 - ] - }, - "firstperson_righthand": { - "scale": [ - 0.6, - 0.6, - 0.6 - ] - }, - "firstperson_lefthand": { - "scale": [ - 0.6, - 0.6, - 0.6 - ] - }, - "ground": { - "translation": [ - 0, - -3.25, + -0.25, + -6.5, 0 ], "scale": [ @@ -65,35 +29,9 @@ 0.75, 0.75 ] - }, - "gui": { - "rotation": [ - 26.31, - 40.81, - -8.27 - ], - "translation": [ - 0, - -5.25, - 0 - ], - "scale": [ - 0.65, - 0.65, - 0.65 - ] - }, - "fixed": { - "rotation": [ - -18.75, - 54.5, - 0 - ], - "translation": [ - 0, - -7, - 2 - ] } + }, + "textures": { + "particle": "ibg:block/animated_block" } } diff --git a/src/main/resources/assets/ibg/textures/block/animated_block.png b/src/main/resources/assets/ibg/textures/block/animated_block.png index 65e5722..edac85a 100644 Binary files a/src/main/resources/assets/ibg/textures/block/animated_block.png and b/src/main/resources/assets/ibg/textures/block/animated_block.png differ