Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

version/1.10.1 #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
SnaveSutit merged 5 commits into main from version/1.10.1
Jun 24, 2026
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .scripts/esbuild.ts
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ const COMMON_CONFIG: esbuild.BuildOptions = {
svelte: 'svelte',
module: './.scripts/fakeModule.js',
'node:module': './.scripts/fakeModule.js',
'node:fs': './src/constants.ts',
},
format: 'iife',
define: DEFINES,
Expand Down
4 changes: 2 additions & 2 deletions package.json
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "Animated Java",
"icon": "icon.svg",
"description": "Effortlessly craft complex animations for Minecraft: Java Edition",
"version": "1.10.0",
"version": "1.10.1",
"min_blockbench_version": "5.1.4",
"variant": "desktop",
"tags": [
Expand Down Expand Up @@ -105,7 +105,7 @@
"firebase": "^9.19.0",
"jiti": "^2.6.1",
"js-yaml": "^4.1.0",
"mc-build": "^4.1.2",
"mc-build": "^4.1.3",
"node-modules-vscode-problems-patch": "^1.0.9",
"octokit": "^5.0.3",
"prettier": "^3.8.2",
Expand Down
34 changes: 32 additions & 2 deletions src/constants.ts
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,12 +1,42 @@
import PACKAGEJSON from '../package.json'
import { localize as translate } from './util/lang'
import { localize } from './util/lang'
export const PACKAGE: typeof PACKAGEJSON = PACKAGEJSON

let cachedFsModule: ScopedFS | null = null
export function getFsModule() {
debugger
cachedFsModule ??= requireNativeModule('fs', {
message: translate('require.fs'),
message: localize('require.fs'),
optional: false,
})!
return cachedFsModule
}

// Super lazy-loading of properties, so that we don't load the fs or fs.promises module until it's actually used by a dependency.
export default new Proxy(
{},
{
get(target, prop) {
if (prop === 'promises') {
return new Proxy(
{},
{
get(target, prop) {
return (...args: any[]) => {
// @ts-expect-error
return getFsModule().promises[prop as keyof ScopedFS['promises']](
...args
)
}
},
}
)
}

return (...args: any[]) => {
// @ts-expect-error
return getFsModule()[prop as keyof ScopedFS](...args)
}
},
}
)
5 changes: 2 additions & 3 deletions src/formats/blueprint/formatPage.svelte
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@
</h3>

<p>
<a href="https://animated-java.dev/docs/getting-started/creating-a-blueprint"
>Check out the Docs</a
> to learn how to use Animated Java.
<a href="https://animated-java.dev/docs/getting-started/installing">Check out the Docs</a> to learn
how to use Animated Java.
</p>

<div class="button_bar">
Expand Down
13 changes: 7 additions & 6 deletions src/lang/en.yml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,13 @@ animated_java:
The targeted Resource Pack must contain a `pack.mcmeta` file.
warning:
no_assets: Selected folder does not contain an assets folder.
error:
empty: Resource Pack folder is required.
invalid_path: 'Failed to resolve path: %s'
does_not_exist: Selected path does not exist.
not_a_dir: Selected path is not a directory.
no_pack_mcmeta: Selected folder does not contain a pack.mcmeta file.
folder:
error:
empty: Resource Pack folder is required.
invalid_path: 'Failed to resolve path: %s'
does_not_exist: Selected path does not exist.
not_a_dir: Selected path is not a directory.
no_pack_mcmeta: Selected folder does not contain a pack.mcmeta file.
data_pack_settings:
title: Data Pack
data_pack:
Expand Down
3 changes: 3 additions & 0 deletions src/plugin.ts
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ BBPlugin.register(PACKAGE.name, {
version: PACKAGE.version,
min_version: PACKAGE.min_blockbench_version,
tags: ['Minecraft: Java Edition', 'Animation', 'Display Entities'],
repository: 'https://github.com/animated-java/animated-java',
bug_tracker: 'https://github.com/animated-java/animated-java/issues',
website: 'https://animated-java.dev',
await_loading: true,
onload() {
console.log(
Expand Down
3 changes: 1 addition & 2 deletions src/pluginPackage/about.svelte
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@

<p>
To learn the basics of Animated Java, check out our <a
href="https://animated-java.dev/docs/getting-started/installing-animated-java"
>Getting Started</a
href="https://animated-java.dev/docs/getting-started/installing">Getting Started</a
> guide.
</p>

Expand Down
17 changes: 17 additions & 0 deletions src/pluginPackage/changelog.json
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -852,5 +852,22 @@
]
}
]
},
"1.10.1": {
"title": "v1.10.1",
"author": "Titus Evans (SnaveSutit)",
"date": "2026年06月24日",
"categories": [
{
"title": "Fixes",
"list": [
"Fixed broken website links.",
"Fixed plugin data desyncs.",
"Fixed missing translations for resource pack folder path.",
"Fixed missing message for file access request.",
"Fixed dependencies requiring node:fs early in the plugin load process."
]
}
]
}
}
2 changes: 1 addition & 1 deletion src/popups/installed/installed.svelte
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<h2>Not Sure Where to Start?</h2>
<p>
Check out our <a
href="https://animated-java.dev/docs/getting-started/creating-a-blueprint"
href="https://animated-java.dev/docs/getting-started/your-first-blueprint"
>getting started</a
> page to learn how to use Animated Java!
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/systems/datapackCompiler/tellraw.ts
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ namespace TELLRAW {
],
},
CREATE_TELLRAW_HELP_LINK(
'https://animated-java.dev/docs/rigs/controlling-a-rig-instance'
'https://animated-java.dev/docs/core-concepts/tags#practical-selector-examples'
),
])
}
Expand Down
Loading

AltStyle によって変換されたページ (->オリジナル) /