Skip to content

Commit bde5eb1

Browse files
committed
Fixed Armor Stand Animator for 4.0 and fixed an issue in Command Master's Animator plugin
1 parent 5b32d53 commit bde5eb1

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

plugins.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"about": "To start, create the armor stand model by using the \"Create Armor Stand Model\" action in the toolbar. Then, create your animation in the animate tab as normal. Make sure the snapping value for keyframes is set to 20 for best results. When you're finished, use the \"Export Armor Stand Animation\" action in the toolbar. Change the settings as needed, then click \"Confirm\". Animations can be run with \"/execute as @e[tag=entity_tag] run function animation_pack:start\". The armor stand for an animation can be summoned with \"/function animation_pack:create\". Supports looping, time scale, block/blockbench unit scale, and start delays.",
77
"tags": ["Minecraft: Java Edition"],
88
"icon": "fa-forward",
9-
"version": "1.0.0",
10-
"min_version": "3.1.0",
9+
"version": "1.0.1",
10+
"min_version": "4.0.0",
1111
"variant": "both"
1212
},
1313
"animator": {

plugins/animator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
To use click Filter -> Save starting model the save the first model, and then click on File -> Export -> Export animation to download the ZIP file of the animation`,
1212
tags: ["Minecraft: Java Edition"],
1313
icon: 'compare',
14-
version: '1.0.0',
14+
version: '1.0.1',
1515
variant: 'both',
1616
onload() {
1717
types = ['thirdperson_righthand', 'thirdperson_lefthand', 'firstperson_righthand', 'firstperson_lefthand', 'gui', 'head', 'ground', 'fixed'];
@@ -192,7 +192,7 @@ To use click Filter -> Save starting model the save the first model, and then cl
192192
type: 'Zip Archive',
193193
extensions: ['zip'],
194194
name: 'animation',
195-
startpath: ModelMeta.export_path,
195+
startpath: Project.export_path,
196196
content: content,
197197
savetype: 'zip'
198198
})

plugins/armor_stand_animator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function generatePackFromAnimation(animationContents, animationName, configData,
124124

125125
zip.generateAsync({type: "blob"}).then(content => {
126126
Blockbench.export({
127-
startpath: ModelMeta.export_path,
127+
startpath: Project.export_path,
128128
type: "Zip Archive",
129129
extensions: ["zip"],
130130
name: animationName,
@@ -141,7 +141,7 @@ function generatePackFromAnimation(animationContents, animationName, configData,
141141
description: "Provides an interface to animate armor stands which is converted to a data pack",
142142
tags: ["Minecraft: Java Edition"],
143143
icon: "fa-forward",
144-
version: "1.0.0",
144+
version: "1.0.1",
145145
variant: "both",
146146
onload() {
147147
// Both actions are globals
@@ -363,4 +363,4 @@ function generatePackFromAnimation(animationContents, animationName, configData,
363363
exportAnimationAction.delete();
364364
}
365365
});
366-
})();
366+
})();

0 commit comments

Comments
 (0)