Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Had to downgrade the min version of Blockbench too for now.
  • Loading branch information
SnaveSutit committed May 4, 2024
1 parent 5cb3704 commit 2aed27c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
6 changes: 4 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
- [x] Render and handle invalid cubes with a red outline.
- [x] Force animations to be at least 1 tick long
- [x] Respect Variant inheritance when applying variants in the animation preview.
- [x] Add a transparency option to the variant texture map selection. (And don't export completely transparent bones)
- [ ] Change the Collection setting type to allow single-click swapping of items between lists.
- [ ] Add a transparency option to the variant texture map selection. (And don't export completely transparent bones)
- [ ] Add an about page.
- [ ] Respect inheritance in the bone config.
- [ ] Locator config doesn't exist yet.
- [ ] Camera config doesn't exist yet.
- [ ] Camera Plugin Support
- [ ] Camera config.
- [ ] Data Pack Compiler support.
- [ ] Natively support step keyframes.
- [ ] Add a bone config option to replace the bone's display item with a custom item.
- [ ] Will require somehow rendering the vanilla item/block model.
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "animated_java",
"title": "Animated Java",
"version": "1.0.0",
"min_blockbench_version": "4.10.0",
"min_blockbench_version": "4.9.4",
"author": {
"name": "Titus Evans (SnaveSutit)",
"email": "snavesutit@gmail.com",
Expand Down Expand Up @@ -45,7 +45,6 @@
"Kyle10BC",
"Matt/Arwen",
"Nerdrope",
"Onnowhere",
"Sprunkles",
"Suso",
"taj",
Expand Down
21 changes: 12 additions & 9 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ import './interface/variantsPanel'
import './interface/importAJModelLoader'
import './interface/customKeyframePanel'
// Blockbench Mods
import './mods/animationPropertiesMod'
import './mods/animationPropertiesAction'
import './mods/modelFormatMod'
import './mods/customKeyframesMod'
import './mods/keyframeMod'
import './mods/animationControllerMod'
import './mods/animationPropertiesAction'
import './mods/animationPropertiesMod'
import './mods/bonePropertiesMod'
import './mods/cubeOutlineMod'
import './mods/customKeyframesMod'
import './mods/exportOverActionMod'
import './mods/groupContextMenuMod'
import './mods/groupNameMod'
import './mods/keyframeMod'
import './mods/modelFormatConvertToMod'
import './mods/modelFormatMod'
import './mods/molangMod'
import './mods/panelMod'
import './mods/projectSettingsActionOverride'
import './mods/saveAllAnimationsActionMod'
import './mods/saveProjectActionMod'
import './mods/saveProjectAsActionMod'
import './mods/variantPreviewCubeFaceMod'
import './mods/modelFormatConvertToMod'
import './mods/cubeOutlineMod'
import './mods/groupNameMod'
import './mods/molangMod'
// Compilers
import { compileDataPack } from './systems/datapackCompiler'
// Misc imports
Expand All @@ -41,6 +41,7 @@ import { openExportProgressDialog } from './interface/exportProgressDialog'
import { isDataPackPath, isResourcePackPath } from './util/minecraftUtil'
import { blueprintSettingErrors } from './blueprintSettings'
import { openUnexpectedErrorDialog } from './interface/unexpectedErrorDialog'
import { BLUEPRINT_CODEC, BLUEPRINT_FORMAT } from './blueprintFormat'

// @ts-ignore
globalThis.AnimatedJava = {
Expand All @@ -55,6 +56,8 @@ globalThis.AnimatedJava = {
blueprintSettingErrors,
openUnexpectedErrorDialog,
TRANSPARENT_TEXTURE,
BLUEPRINT_FORMAT,
BLUEPRINT_CODEC,
},
}

Expand Down
4 changes: 2 additions & 2 deletions test_blueprints/armor_stand.ajblueprint
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@
"override": false,
"length": 1,
"snapping": 20,
"selected": true,
"selected": false,
"saved": false,
"path": "",
"anim_time_update": "",
Expand Down Expand Up @@ -3091,7 +3091,7 @@
"override": false,
"length": 4,
"snapping": 20,
"selected": false,
"selected": true,
"saved": false,
"path": "",
"anim_time_update": "",
Expand Down

0 comments on commit 2aed27c

Please sign in to comment.