Skip to content

Commit 61c54b0

Browse files
committed
Squashed commit of the following:
commit e8380ce Author: SnaveSutit <[email protected]> Date: Wed Sep 18 13:42:20 2024 -0400 🚧 v1.4.2 commit 0a0617b Author: SnaveSutit <[email protected]> Date: Wed Sep 18 13:28:36 2024 -0400 🛠️ Remove debug commands commit af5e9e3 Author: SnaveSutit <[email protected]> Date: Tue Sep 17 17:37:26 2024 -0400 🚧 v1.4.1 commit a313040 Author: ououn <[email protected]> Date: Tue Sep 17 11:30:26 2024 -1000 🔤 Translate AJ to Chinese - Simplified (#297) commit 9c3eac8 Author: SnaveSutit <[email protected]> Date: Tue Sep 17 17:29:07 2024 -0400 🚧 Add a workaround message to missing model error commit 11f81d5 Author: SnaveSutit <[email protected]> Date: Tue Sep 17 17:22:58 2024 -0400 🛠️ Fixed #303 commit ade7351 Author: SnaveSutit <[email protected]> Date: Tue Sep 17 17:08:02 2024 -0400 🛠️ Fixed #309 commit eebec87 Author: SnaveSutit <[email protected]> Date: Tue Sep 17 16:29:05 2024 -0400 🛠️ Fixed #291 commit 5de444c Author: SnaveSutit <[email protected]> Date: Fri Sep 13 12:33:16 2024 -0400 🛠️ Fixed crash when generating anim storage commit e45e439 Author: SnaveSutit <[email protected]> Date: Tue Sep 10 20:14:07 2024 -0400 🛠️ Fix easing args not saving correctly - Fixed incorrect transoforms only tag check commit 4315574 Author: SnaveSutit <[email protected]> Date: Mon Sep 9 21:12:54 2024 -0400 🏗️ Fixed a few more issues with pre-post keyframes commit c312bc2 Author: SnaveSutit <[email protected]> Date: Mon Sep 9 19:31:23 2024 -0400 🛠️ Fixed step/pre-post keyframes - Fixed step/pre-post keyframes using wrong interpolation methods - Added the ability to edit texture mcmeta files. commit f9958ee Author: SnaveSutit <[email protected]> Date: Sun Sep 8 19:30:45 2024 -0400 🛠️ Fixed #296 commit e18eacc Author: SnaveSutit <[email protected]> Date: Wed Sep 4 20:24:34 2024 -0400 Fix #299 commit 9d16a1f Author: SnaveSutit <[email protected]> Date: Thu Aug 22 09:36:58 2024 -0400 🚧 Add null state for fully transparent models. commit 0b438c2 Author: SnaveSutit <[email protected]> Date: Wed Aug 21 20:31:20 2024 -0400 🚧 Rename brightness override in plugin mode - Override Brightness -> Use Custom Brightness - Brightness Override -> Custom Brightness commit f89b421 Author: SnaveSutit <[email protected]> Date: Wed Aug 21 17:07:59 2024 -0400 🚧 Scoping out some modding utils commit 87452b2 Author: SnaveSutit <[email protected]> Date: Wed Aug 21 17:05:38 2024 -0400 🚧 Add reset buttons to dialog items. commit 4491b16 Author: SnaveSutit <[email protected]> Date: Wed Aug 21 16:13:18 2024 -0400 🚧 Implement #265 commit 206c42c Author: SnaveSutit <[email protected]> Date: Wed Aug 21 16:08:33 2024 -0400 🛠️ Fix #268 & #255 commit ec2e41b Author: SnaveSutit <[email protected]> Date: Wed Aug 21 15:51:04 2024 -0400 🚧 Add Custom Name and Custom Name Visible - Added Custom Name and Custom Name Visible to bone, item display, and block display configs. commit 3bbb526 Author: SnaveSutit <[email protected]> Date: Wed Aug 21 15:32:19 2024 -0400 🚧 Add item_display mode to Item Displays commit a8e2b72 Author: SnaveSutit <[email protected]> Date: Wed Aug 21 15:08:57 2024 -0400 🛠️ Remove "Vanilla" from item and block display node names. #274 commit 4b92d51 Author: SnaveSutit <[email protected]> Date: Wed Aug 21 15:05:44 2024 -0400 🛠️ Major Fixes and improvements - Fixed locator commands not functioning. - Added ticking commands blueprint setting. - Added Root-based commands keyframes. - Improved Dialog Item UI interactivity. - Cleaned up index imports. - Split advanced resource pack settings into `advanced_resource_pack_settings` and `advanced_resource_pack_folders`. - Moved bone interpolation mod into it's own file. - Fixed animation renderer not correctly gathering variant keyframe execute conditions. - Fixed variant apply functions not actually doing anything. - Removed locator debug bubbles. - Added asset manager loading bar. - Added a MDFU entry for v1.4.0. - Fixed missing node configs causing crash when hashing rigs. commit 750ab00 Author: SnaveSutit <[email protected]> Date: Wed Aug 21 14:21:29 2024 -0400 🚧 Delete unused previewRaycastMod commit f3a6317 Author: SnaveSutit <[email protected]> Date: Wed Aug 21 14:20:57 2024 -0400 🚧 Add progress to loading popup. - Added asset download progress to loading popup. commit d03c2b6 Author: SnaveSutit <[email protected]> Date: Thu Aug 15 16:46:48 2024 -0400 🚧 Add a non-generated item model warning. commit 2979e77 Author: SnaveSutit <[email protected]> Date: Wed Aug 14 11:30:15 2024 -0400 🚧 v1.3.1 commit 0bc3795 Author: SnaveSutit <[email protected]> Date: Wed Aug 14 11:28:33 2024 -0400 🛠️ Fixed #258 commit e8e1d19 Author: SnaveSutit <[email protected]> Date: Wed Aug 14 11:26:07 2024 -0400 Fix #267 #261 and #260 - Removed `safe_name` from plugin JSON export. - Fixed incorrect item model paths. - Removed `display_item` from plugin JSON export. commit 9de3ba9 Author: SnaveSutit <[email protected]> Date: Fri Aug 2 17:14:22 2024 -0400 Update README.md commit e61d9d3 Author: SnaveSutit <[email protected]> Date: Fri Aug 2 17:13:21 2024 -0400 🛠️ Fix compiler crash due to undefined accessor commit 190c13e Author: SnaveSutit <[email protected]> Date: Fri Aug 2 17:11:49 2024 -0400 🛠️ Fix custom keyframe panel duplicating commit 054c606 Author: SnaveSutit <[email protected]> Date: Thu Aug 1 15:11:17 2024 -0400 🛠️ Fix #249 commit 5482374 Author: SnaveSutit <[email protected]> Date: Thu Aug 1 14:41:38 2024 -0400 🛠️ Improved issue in #222 commit 127d0a7 Author: SnaveSutit <[email protected]> Date: Thu Aug 1 13:55:44 2024 -0400 🛠️ Fix #246 commit d5ce27a Author: SnaveSutit <[email protected]> Date: Thu Aug 1 13:42:38 2024 -0400 🛠️ Fix UUID not being included in exported nodes commit 7ca85a1 Author: Duckelekuuk <[email protected]> Date: Thu Aug 1 19:39:55 2024 +0200 ✨ Add custom model data offset setting to plugin configuration (#248) * Add custom model data offset field as plugin configuration * 🚧 Make exported settings more specific --------- Co-authored-by: SnaveSutit <[email protected]> commit 28ea700 Author: SnaveSutit <[email protected]> Date: Tue Jul 30 15:33:45 2024 -0400 🚧 Plugin JSON Improvements - Fixed #245 - Removed unused settings from JSON export. - Add UUID back to exported nodes and internal data structures. - Added `safe_name` to nodes. - Fixed incorrect JSON Text serialization. commit 424173b Author: SnaveSutit <[email protected]> Date: Tue Jul 30 05:28:16 2024 -0400 🚧 Internal data structure improvements - Reduced overall complexity of internal `renderedRig` and `renderedAnimation` structures. - Normalized `snake_case` for most internal data structures and the plugin json export. - Reduced the complexity of plugin json export data. - Updated existing tech to use the updated data structures. commit 995294b Author: SnaveSutit <[email protected]> Date: Fri Jul 26 21:45:50 2024 -0400 🚧 `node.scale` -> `node.baseScale` commit 2ac8f5b Author: SnaveSutit <[email protected]> Date: Fri Jul 26 21:31:26 2024 -0400 🚧 Add Ko-Fi supporters to about page commit fb7bf44 Author: SnaveSutit <[email protected]> Date: Fri Jul 26 21:02:03 2024 -0400 🛠️ Fix #243 commit ffe0372 Author: SnaveSutit <[email protected]> Date: Fri Jul 26 11:52:15 2024 -0400 🚧Implement #242 & #240 - Reduced complexity of keyframe data. commit d610ebc Author: SnaveSutit <[email protected]> Date: Wed Jul 24 17:42:57 2024 -0400 🚧 Improve JSON Text parsing and validation. - Fixed escaped characters including the backslash in the rendered text. - Json Text Components now require a content key. - Fixed text component arrays not allowing a newline after the opening bracket. - Fixed invalid error while parsing score object. - Fixed `translate` being named `tl` for some weird reason. commit c61bc55 Author: SnaveSutit <[email protected]> Date: Wed Jul 24 14:50:41 2024 -0400 Update package.json commit 54b46aa Author: SnaveSutit <[email protected]> Date: Wed Jul 24 13:34:53 2024 -0400 🚧 Reduced redundant data in the Plugin JSON - `nodeTransform` no longer stores bone `name`, `type`, or `uuid`. - Moved `defaultTransforms` into `node` as `defaultTransform`. - `animators` for dynamic animations have been reduced to a list of keyframes. - `dynamicAnimation` had it's `uuid` field removed. - `keyframeDataPoints`'s `xyz` fields are now always strings when they're defined. - Removed `xyz` fields from a `commands` channel `keyframes`'s datapoints. - `animators` that don't have any keyframes are now excluded. commit be1b904 Author: SnaveSutit <[email protected]> Date: Tue Jul 23 20:56:17 2024 -0400 🚧 Text Display Improvements / Fixes - Added #234 - Fixed text displays not saving or exporting `shadow` toggle. - Fixed text displays not saving or exporting `background`. commit d2116bd Author: SnaveSutit <[email protected]> Date: Tue Jul 23 20:21:45 2024 -0400 🛠️ Fix #236 commit a0093c7 Author: SnaveSutit <[email protected]> Date: Tue Jul 23 20:18:51 2024 -0400 🛠️ Fix #237 commit e9e29df Author: SnaveSutit <[email protected]> Date: Sat Jul 20 23:44:51 2024 -0400 🛠️ Fix formatting error in bone config title. commit 23b9bc4 Author: SnaveSutit <[email protected]> Date: Sat Jul 20 23:35:10 2024 -0400 🛠️ Fix #233 commit 13b8983 Merge: 6004ca2 5bc106d Author: Titus Evans <[email protected]> Date: Sat Jul 20 10:01:17 2024 -0700 ⤵️ Merge pull request #221 from LeCarbonator/translation-de Add german translation for new keys commit 6004ca2 Author: SnaveSutit <[email protected]> Date: Sat Jul 20 12:55:29 2024 -0400 🛠️ Fix json export path not respecting relative paths commit 6f2b0cb Author: SnaveSutit <[email protected]> Date: Sat Jul 20 12:51:39 2024 -0400 🛠️ Fix #230 commit 7cfc4ca Author: SnaveSutit <[email protected]> Date: Sat Jul 20 12:30:28 2024 -0400 🛠️ Actually fix #215 commit c829397 Author: SnaveSutit <[email protected]> Date: Sat Jul 20 12:25:02 2024 -0400 🛠️ Fix #223 commit b56ff21 Author: SnaveSutit <[email protected]> Date: Sat Jul 20 12:22:09 2024 -0400 🚧 Hide `override_glow_color` option in plugin mode commit b747b20 Author: SnaveSutit <[email protected]> Date: Sat Jul 20 11:57:50 2024 -0400 🚧 Disable font manager debug output commit c70e4a8 Author: SnaveSutit <[email protected]> Date: Sat Jul 20 11:57:08 2024 -0400 🛠️ Fix #231 The code was checking for an array with length > 1 instead of > 0. Oops! commit 6782deb Author: SnaveSutit <[email protected]> Date: Fri Jul 19 14:38:36 2024 -0400 🚧 Remove wireframe debug effect commit 5bb2d52 Author: SnaveSutit <[email protected]> Date: Fri Jul 19 14:37:26 2024 -0400 🚧 Improve item rendering and bounding boxes commit 7212422 Author: SnaveSutit <[email protected]> Date: Fri Jul 19 13:41:27 2024 -0400 🚧 Fix #225 I found a way to avoid overwriting the `Preview.raycast` method, which should make selecting custom elements much more stable now. commit 83a2030 Author: SnaveSutit <[email protected]> Date: Thu Jul 18 13:50:19 2024 -0400 🚧 JSON Compiler improvements - Implemented #227. - Fixed #228. - Added new node type: `struct`. Can be used to re-create the rig's bone structure for dynamic animations. - Added `is_default` to exported variant JSON. commit 2e4f4b5 Author: SnaveSutit <[email protected]> Date: Mon Jul 15 16:48:12 2024 -0400 v1.1.0 commit 7e48c40 Author: SnaveSutit <[email protected]> Date: Mon Jul 15 16:47:59 2024 -0400 🚧 Hide easing options if non-linear interpolation commit 61502a1 Author: SnaveSutit <[email protected]> Date: Mon Jul 15 15:48:38 2024 -0400 🚧 Uninstall message (tells you to restart BB) commit c82c457 Author: SnaveSutit <[email protected]> Date: Mon Jul 15 15:42:13 2024 -0400 🚧 Welcome page commit df55e43 Author: SnaveSutit <[email protected]> Date: Mon Jul 15 13:44:41 2024 -0400 🚧 Improve some types, and fix some dialog issues commit 958e209 Author: SnaveSutit <[email protected]> Date: Sun Jul 14 15:12:10 2024 -0400 Fix #216 changing the ease now defaults the args commit 2cb4ef4 Author: SnaveSutit <[email protected]> Date: Sun Jul 14 13:59:14 2024 -0400 🛠️ Fix incorrect block model rotations with `facing` commit 5bc106d Author: LeCarbonator <[email protected]> Date: Sun Jul 14 19:50:29 2024 +0200 add german translation for new keys commit 6c084db Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:57:53 2024 -0400 🚧 Update text blueprint commit 0d3a6db Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:38:03 2024 -0400 🛠️ Fix #214 @LeCarbonator minor localization key additions commit 236b2c0 Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:34:40 2024 -0400 🛠️ Fix #220 commit b41a72b Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:33:58 2024 -0400 🛠️ Fix Default anim snapping effecting all formats commit a14d1a9 Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:31:05 2024 -0400 🛠️ Fix #215 commit c9cdb13 Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:21:53 2024 -0400 🛠️ Fix #218 Block displays should not respect the `facing` state. commit bde8fe3 Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:20:34 2024 -0400 🛠️ Fix untranslated error messages. @LeCarbonator this time there are actually new translation keys 😅 commit f19ec3e Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:02:51 2024 -0400 🛠️ Fix #219 commit 7af48b1 Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:02:43 2024 -0400 🛠️ Fix invalid NBT in outdated rig warning commit f7bf8dc Author: SnaveSutit <[email protected]> Date: Sun Jul 14 12:02:21 2024 -0400 🛠️ Fix invalid animation names commit b020e4e Author: SnaveSutit <[email protected]> Date: Fri Jul 12 21:53:09 2024 -0400 🛠️ Fix #212 commit ea6f853 Author: SnaveSutit <[email protected]> Date: Fri Jul 12 21:39:47 2024 -0400 🛠️ Fix per-rig objectives being put in global commit 6f22c25 Author: SnaveSutit <[email protected]> Date: Fri Jul 12 21:07:28 2024 -0400 🚧 Missing language translation fix - Fix the `translation` function returning the translation key when a language that isn't supported is selected. It now returns the English translation if no language is found. commit 4c37978 Author: SnaveSutit <[email protected]> Date: Fri Jul 12 20:16:20 2024 -0400 🚧 Fix #211 commit c0df525 Author: SnaveSutit <[email protected]> Date: Fri Jul 12 19:43:51 2024 -0400 🚧 Update incorrect translation keys commit fd716a5 Author: SnaveSutit <[email protected]> Date: Fri Jul 12 10:05:29 2024 -0400 🧼 Clean up some unused code in keyframeEasings UI commit e518b9b Author: SnaveSutit <[email protected]> Date: Fri Jul 12 10:04:58 2024 -0400 🛠️ Fix missing easing mode translation string @LeCarbonator Translations will need to be updated commit df45be5 Author: SnaveSutit <[email protected]> Date: Thu Jul 11 17:41:30 2024 -0400 🛠️ Maybe fix weird save path issues commit fabd543 Author: SnaveSutit <[email protected]> Date: Thu Jul 11 17:41:03 2024 -0400 🚧 Update build scripts commit f33a389 Author: SnaveSutit <[email protected]> Date: Thu Jul 11 17:40:35 2024 -0400 🧼 Clean up dependencies commit aa68c8f Author: SnaveSutit <[email protected]> Date: Thu Jul 11 10:28:31 2024 -0400 🚧 Fix about.md links
1 parent 2a41291 commit 61c54b0

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"type": "module",
33
"name": "animated_java",
44
"title": "Animated Java",
5-
"version": "1.4.1",
6-
"display_version": "1.4.1",
5+
"version": "1.4.2",
6+
"display_version": "1.4.2",
77
"min_blockbench_version": "4.10.0",
88
"author": {
99
"name": "Titus Evans (SnaveSutit)",

tools/plugins/packagerPlugin.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ import * as pathjs from 'path'
44
import * as c from 'svelte/compiler'
55
import { mkdirSync, readFileSync, writeFileSync } from 'fs'
66
import * as svelteInternal from 'svelte/internal'
7+
import * as prettier from 'prettier'
78

89
const PACKAGE = JSON.parse(fs.readFileSync('./package.json', 'utf-8'))
910
const PLUGIN_PACKAGE_PATH = './src/pluginPackage/'
1011
const SVELTE_FILE = './src/pluginPackage/about.svelte'
1112
const README_DIST_PATH = './dist/pluginPackage/about.md'
1213
const DIST_PATH = './dist/pluginPackage/'
14+
const PLUGIN_REPO_PATH = 'D:/github-repos/snavesutit/blockbench-plugins/plugins/animated_java'
15+
const PLUGIN_MANIFEST_PATH = 'D:/github-repos/snavesutit/blockbench-plugins/plugins.json'
1316

1417
function plugin(): Plugin {
1518
return {
@@ -40,6 +43,21 @@ function plugin(): Plugin {
4043
writeFileSync(README_DIST_PATH, html)
4144
if (fs.existsSync(pathjs.join(DIST_PATH, 'about.svelte')))
4245
fs.unlinkSync(pathjs.join(DIST_PATH, 'about.svelte'))
46+
47+
if (fs.existsSync(PLUGIN_REPO_PATH)) {
48+
console.log('📋 Copying to plugin repo')
49+
fs.rmSync(PLUGIN_REPO_PATH, { recursive: true, force: true })
50+
fs.cpSync(DIST_PATH, PLUGIN_REPO_PATH, { recursive: true })
51+
const manifest = JSON.parse(fs.readFileSync(PLUGIN_MANIFEST_PATH, 'utf-8'))
52+
manifest.animated_java.version = PACKAGE.version
53+
fs.writeFileSync(
54+
PLUGIN_MANIFEST_PATH,
55+
prettier.format(JSON.stringify(manifest, null, '\t'), {
56+
useTabs: true,
57+
parser: 'json',
58+
})
59+
)
60+
}
4361
})
4462
},
4563
}

0 commit comments

Comments
 (0)