Skip to content

🔖 v2.0.0 #379

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

Open
wants to merge 56 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
804b695
🚧 Major source reorganization, and new UI
SnaveSutit Jan 19, 2025
51d2032
🚧 Major source reorganization, and new UI
SnaveSutit Jan 19, 2025
842093f
🚧 Add export page to blueprint settings
SnaveSutit Jan 19, 2025
f4ad83c
🚧 Step 1 of source restructure: Folder names and basic file organization
SnaveSutit Feb 12, 2025
6039b4e
🚧 Restructure: `tools` folder
SnaveSutit Feb 12, 2025
7995fbb
🔧 Add `paths` to tsconfig, and update important imports to use them
SnaveSutit Feb 12, 2025
dabc0a2
🔧 Enforce folder and file naming conventions
SnaveSutit Feb 12, 2025
40e0b5a
🚧 Finish repo restructure
SnaveSutit Feb 13, 2025
01f9f33
🐛 Plugin build is invalid
SnaveSutit Feb 13, 2025
8a6799a
🐛 `EVENTS` is not defined due to recursive import
SnaveSutit Feb 13, 2025
7c7129a
🔧 Add `@events` alias, and remove `THREE` imports
SnaveSutit Feb 13, 2025
810265a
✨ Rework Node config system (no UI changes)
SnaveSutit Feb 13, 2025
ae179cb
🩹 ESLint is killing me with these random `three` imports
SnaveSutit Feb 13, 2025
0a5e194
🚧 Begin work on Display Panel
SnaveSutit Feb 13, 2025
8c72ff7
🩹 Svelte components produce duplicate style elements when compiling
SnaveSutit Feb 13, 2025
d45ba08
🩹 Svelte panels mounting to wrong element
SnaveSutit Feb 13, 2025
e520ba5
🎨 Fix lang formatting
SnaveSutit Feb 13, 2025
a4b6656
✨ Fully functional Serializable Config
SnaveSutit Feb 17, 2025
af09863
✅ Serializable Config Tests
SnaveSutit Feb 17, 2025
51721a8
🧑‍💻 Temporarily disable Blueprint loading popup
SnaveSutit Feb 17, 2025
2ba2898
🩹 `visibility` Property for ResizableOutliner Element is type 'string'
SnaveSutit Feb 17, 2025
0b2f42d
🚸 Minor patch for panel title text wrapping
SnaveSutit Feb 17, 2025
cb658cf
🔧 Add tests folder to `tsconfig.json`
SnaveSutit Feb 17, 2025
15a41a4
🔧 Patch ESLint naming convention rule for Enum Members
SnaveSutit Feb 17, 2025
85de808
✨ Add `forceUpdate` function to `Valuable` class
SnaveSutit Feb 17, 2025
0bf241b
✨ Add `ObjectProperty` class to `moddingTools.ts`
SnaveSutit Feb 17, 2025
c62c609
🎨 No more Vanilla prefix for display entity elements!
SnaveSutit Feb 17, 2025
f205903
🐛 Update group deselection logic for Blockbench 4.12.0
SnaveSutit Feb 17, 2025
c0af375
🎨 Rename `GenericDisplayConfig` -> `CommonDisplayConfig`
SnaveSutit Feb 17, 2025
38401a9
♻️ Update `fontManager.ts` to handle new node configs
SnaveSutit Feb 17, 2025
abd98c0
🚧 Implement basic Display Panel node config functionality.
SnaveSutit Feb 17, 2025
3cefa6e
🔇 Remove misc unused / unneeded logs
SnaveSutit Feb 17, 2025
6a3aec9
🔇 Remove logs from ObjectProperty
SnaveSutit Feb 17, 2025
c187120
🚚 `blockbenchTypeMods.d.ts` -> `blockbenchTypes.d.ts`
SnaveSutit Feb 19, 2025
97679ab
🚚 Move icons into `src/assets/icons`
SnaveSutit Feb 19, 2025
ad8d78c
🔧 Add recommended extensions for VSCode
SnaveSutit Feb 19, 2025
9ce0b02
🎨 Massively improve README
SnaveSutit Feb 19, 2025
a9204c4
⬆️ Update Envbench
SnaveSutit Feb 19, 2025
00aac70
⬆️ Update Svelte
SnaveSutit Feb 19, 2025
38ce054
✨ Visualization of Structure groups
SnaveSutit Feb 19, 2025
dc215fb
🩹 Add null check for Display Panel when selecting a new node
SnaveSutit Feb 19, 2025
40f2ff4
🩹 Fix downloads badge link
SnaveSutit Feb 19, 2025
1aa625b
➖ Remove `download` library
SnaveSutit Feb 25, 2025
d286172
🩹 Add patch for deepslate that strips unneeded parts of the library f…
SnaveSutit Feb 25, 2025
2e5f85d
🩹 Reduce imported YAML file size
SnaveSutit Feb 25, 2025
0657d0d
⬆️ Upgrade Dependencies
SnaveSutit Feb 25, 2025
a00a3c9
✨ Add node config property display configuration
SnaveSutit Feb 26, 2025
b2aee51
🎨 Format TODO.md
SnaveSutit Feb 26, 2025
46f0ea0
🩹 Fix rebase issues when updating to origin
SnaveSutit Feb 26, 2025
ff94158
🩹 Fix imports in `datapack-compiler/index.ts`
SnaveSutit Feb 26, 2025
553cc3b
✨ Rename `Valuable` to `Syncable` and a couple other store API tweaks
SnaveSutit Mar 3, 2025
38ba33f
💬 Tweaked, and added new unexpected error flavor quotes
SnaveSutit Mar 3, 2025
5ca1e93
✨ Node config improvements
SnaveSutit Mar 3, 2025
faa5924
🚧 More Display Panel progress
SnaveSutit Mar 3, 2025
b721e42
💬 Update TODO
SnaveSutit Mar 3, 2025
43bef3c
😭 Begin fixing the mess of conflicts
SnaveSutit Jul 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
140 changes: 0 additions & 140 deletions .eslintrc.json

This file was deleted.

8 changes: 7 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint", "svelte.svelte-vscode"]
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"svelte.svelte-vscode",
"ExodiusStudios.comment-anchors",
"SuperAnt.mc-dp-icons"
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"**/Thumbs.db": true,
"**/node_modules": true
},
"[yaml]": {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false
},
"npm.exclude": ["**/node_modules"],
"errorLens.excludePatterns": ["**/node_modules/**/*"],
"eslint.validate": ["javascript", "typescript", "svelte"],
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
36 changes: 36 additions & 0 deletions .yarn/patches/deepslate-npm-0.19.2-f859599b0a.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
diff --git a/lib/nbt/index.d.ts b/lib/nbt/index.d.ts
index 69843e7fc1b7c47c89bcd58270289736d2ef1a71..e3bbf5213144a5249a22b351ac6feeee6dd66972 100644
--- a/lib/nbt/index.d.ts
+++ b/lib/nbt/index.d.ts
@@ -1,7 +1,7 @@
-export * from './io/DataInput.js';
-export * from './io/DataOutput.js';
-export * from './NbtChunk.js';
-export * from './NbtFile.js';
-export * from './NbtRegion.js';
-export * from './tags/index.js';
+export * from './io/DataInput.js'
+export * from './io/DataOutput.js'
+// export * from './NbtChunk.js';
+// export * from './NbtFile.js';
+// export * from './NbtRegion.js';
+export * from './tags/index.js'
//# sourceMappingURL=index.d.ts.map
diff --git a/lib/nbt/index.js b/lib/nbt/index.js
index 5906e500f45d93439fc3c683a4cd11135980535b..15de3352ccbfb6f09b266edb0250e7b349324d8a 100644
--- a/lib/nbt/index.js
+++ b/lib/nbt/index.js
@@ -1,7 +1,7 @@
-export * from './io/DataInput.js';
-export * from './io/DataOutput.js';
-export * from './NbtChunk.js';
-export * from './NbtFile.js';
-export * from './NbtRegion.js';
-export * from './tags/index.js';
+export * from './io/DataInput.js'
+export * from './io/DataOutput.js'
+// export * from './NbtChunk.js';
+// export * from './NbtFile.js';
+// export * from './NbtRegion.js';
+export * from './tags/index.js'
//# sourceMappingURL=index.js.map
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
75 changes: 75 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<div align=center>
<img src="src/assets/icons/animated_java_fancy_icon.svg" width=128/>
<h1>🧑‍💻 Contributing to Animated Java</h1>
</div>

Contributions are always welcome, but please consult @SnaveSutit before starting to avoid duplicates or misalignment of goals. I don't want you to waste all that time and effort on a PR that gets refused!

<div align=center>
<kbd>Thank you! ❤️</kbd>
</div>

<br/>

<h1 align=center>💻 Setting up the Development Environment</h1>

### 🛠️ Prerequisites

- #### Required

- [Node.js](https://nodejs.org/en/)
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable)
- [Git](https://git-scm.com/)

- #### Recommended

- [VSCode](https://code.visualstudio.com/)
> (or any other code editor, but this project has configurations for VSCode)
- [Blockbench](https://www.blockbench.net/)
> The repository includes [Envbench](https://github.com/SnaveSutit/envbench) to create and manage a dev instance of Blockbench, So installing Blockbench separately is not strictly required.
- [SnaveSutit's Blockbench Types](https://github.com/SnaveSutit/blockbench-types)
> Bleeding edge types for Blockbench plugins.<br/>Install via `yarn add -D https://github.com/SnaveSutit/blockbench-types.git`
- [GitButler](https://gitbutler.com/)
> A Git client for simultaneous branches on top of your existing workflow.

## 🖇️ Cloning the Repository

1. Clone the repository via git

> [How do I clone a repository?](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)

2. Run `yarn install` to install dependencies.

3. Open up `src/blockbenchTypes.d.ts` and replace the first line with the following:

```ts
/// <reference types="blockbench-types"/>
```

> By default this references my local fork of the Blockbench types to quickly add / adjust types as needed. So you need to adjust this to the official Blockbench types, or your own fork, if you're not me.

4. Run `yarn dev` to start the development environment, which will watch for changes and recompile the plugin.

5. Open a new terminal, or click `Split` if you're in VSCode's terminal, and run `yarn start` to start the development instance of Blockbench.

6. That's it! You're ready to start developing.

> [!IMPORTANT]
> Note that whenever you make changes, reloading just the plugins won't be enough, you must fully reload Blockbench for the plugin to function as expected.<br>
> You can use <kbd><kbd>CTRL</kbd> + <kbd>SHIFT</kbd> + <kbd>R</kbd></kbd>
> to reload Blockbench, or run `Blockbench.reload()` in the dev-tools console.

## 💬 Adding Localizations

1. Follow the instructions for [Cloning the Repository](#🖇️-cloning-the-repository).

2. Duplicate `src/lang/en.yml` and rename it to match the language you're translating to. (e.g. `fr.yml` for French).

> See [this page](https://github.com/JannisX11/blockbench/tree/master/lang) for the list of languages Blockbench supports.

3. Start Translating! Make sure to check your changes in Blockbench to ensure they work correctly.

> [!IMPORTANT]
> You will see strings that have curly brackets surrounding a number (`{0}`) in them, these are placeholders that indicate where variables should inserted into a string. Make sure to keep them in your translations!

4. Once you're done translating, open a pull request with your changes.
Loading