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 55 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
7ee7c24
🚧 Major source reorganization, and new UI
SnaveSutit Jan 19, 2025
72be07e
🚧 Major source reorganization, and new UI
SnaveSutit Jan 19, 2025
9cf15c8
🚧 Add export page to blueprint settings
SnaveSutit Jan 19, 2025
9d89203
🚧 Step 1 of source restructure: Folder names and basic file organization
SnaveSutit Feb 12, 2025
73f34bf
🚧 Restructure: `tools` folder
SnaveSutit Feb 12, 2025
94dc74f
🔧 Add `paths` to tsconfig, and update important imports to use them
SnaveSutit Feb 12, 2025
c7523e7
🔧 Enforce folder and file naming conventions
SnaveSutit Feb 12, 2025
3aee6f6
🚧 Finish repo restructure
SnaveSutit Feb 13, 2025
de2f123
🐛 Plugin build is invalid
SnaveSutit Feb 13, 2025
6500bb3
🐛 `EVENTS` is not defined due to recursive import
SnaveSutit Feb 13, 2025
3642b5c
🔧 Add `@events` alias, and remove `THREE` imports
SnaveSutit Feb 13, 2025
5694936
✨ Rework Node config system (no UI changes)
SnaveSutit Feb 13, 2025
39d06f0
🩹 ESLint is killing me with these random `three` imports
SnaveSutit Feb 13, 2025
f626646
🚧 Begin work on Display Panel
SnaveSutit Feb 13, 2025
0d68ab4
🩹 Svelte components produce duplicate style elements when compiling
SnaveSutit Feb 13, 2025
8452419
🩹 Svelte panels mounting to wrong element
SnaveSutit Feb 13, 2025
e82907e
🎨 Fix lang formatting
SnaveSutit Feb 13, 2025
7c0a6af
✨ Fully functional Serializable Config
SnaveSutit Feb 17, 2025
d705f5c
✅ Serializable Config Tests
SnaveSutit Feb 17, 2025
aab1356
🧑‍💻 Temporarily disable Blueprint loading popup
SnaveSutit Feb 17, 2025
de1f5c5
🩹 `visibility` Property for ResizableOutliner Element is type 'string'
SnaveSutit Feb 17, 2025
c120f89
🚸 Minor patch for panel title text wrapping
SnaveSutit Feb 17, 2025
d439da1
🔧 Add tests folder to `tsconfig.json`
SnaveSutit Feb 17, 2025
d6dec3f
🔧 Patch ESLint naming convention rule for Enum Members
SnaveSutit Feb 17, 2025
1c37740
✨ Add `forceUpdate` function to `Valuable` class
SnaveSutit Feb 17, 2025
e79dfa8
✨ Add `ObjectProperty` class to `moddingTools.ts`
SnaveSutit Feb 17, 2025
1b4d36b
🎨 No more Vanilla prefix for display entity elements!
SnaveSutit Feb 17, 2025
39a48ad
🐛 Update group deselection logic for Blockbench 4.12.0
SnaveSutit Feb 17, 2025
c79ccea
🎨 Rename `GenericDisplayConfig` -> `CommonDisplayConfig`
SnaveSutit Feb 17, 2025
70affd2
♻️ Update `fontManager.ts` to handle new node configs
SnaveSutit Feb 17, 2025
de022cd
🚧 Implement basic Display Panel node config functionality.
SnaveSutit Feb 17, 2025
b88d53a
🔇 Remove misc unused / unneeded logs
SnaveSutit Feb 17, 2025
5b45a08
🔇 Remove logs from ObjectProperty
SnaveSutit Feb 17, 2025
b128fff
🚚 `blockbenchTypeMods.d.ts` -> `blockbenchTypes.d.ts`
SnaveSutit Feb 19, 2025
5716b72
🚚 Move icons into `src/assets/icons`
SnaveSutit Feb 19, 2025
02e8fb4
🔧 Add recommended extensions for VSCode
SnaveSutit Feb 19, 2025
d758cf6
🎨 Massively improve README
SnaveSutit Feb 19, 2025
44c5c59
⬆️ Update Envbench
SnaveSutit Feb 19, 2025
fa8f5f5
⬆️ Update Svelte
SnaveSutit Feb 19, 2025
6ff979d
✨ Visualization of Structure groups
SnaveSutit Feb 19, 2025
f4a8e5f
🩹 Add null check for Display Panel when selecting a new node
SnaveSutit Feb 19, 2025
d1d736f
🩹 Fix downloads badge link
SnaveSutit Feb 19, 2025
1de99da
➖ Remove `download` library
SnaveSutit Feb 25, 2025
db44b1d
🩹 Add patch for deepslate that strips unneeded parts of the library f…
SnaveSutit Feb 25, 2025
43e9e47
🩹 Reduce imported YAML file size
SnaveSutit Feb 25, 2025
bde35a7
⬆️ Upgrade Dependencies
SnaveSutit Feb 25, 2025
b33d6cf
✨ Add node config property display configuration
SnaveSutit Feb 26, 2025
f01480e
🎨 Format TODO.md
SnaveSutit Feb 26, 2025
ecf5608
🩹 Fix rebase issues when updating to origin
SnaveSutit Feb 26, 2025
2da051a
🩹 Fix imports in `datapack-compiler/index.ts`
SnaveSutit Feb 26, 2025
9256e99
✨ Rename `Valuable` to `Syncable` and a couple other store API tweaks
SnaveSutit Mar 3, 2025
c52ba52
💬 Tweaked, and added new unexpected error flavor quotes
SnaveSutit Mar 3, 2025
077d2de
✨ Node config improvements
SnaveSutit Mar 3, 2025
f121d75
🚧 More Display Panel progress
SnaveSutit Mar 3, 2025
874d091
💬 Update TODO
SnaveSutit Mar 3, 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