Skip to content

Commit

Permalink
✨ Add equipment assets folder
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Nov 22, 2024
1 parent e81124d commit 70142b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/symbol/Symbol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export const AssetsFileCategories = Object.freeze(
[
'atlas',
'block_definition', // blockstates
'equipment',
'font',
'font/ttf',
'font/otf',
Expand Down
7 changes: 7 additions & 0 deletions packages/java-edition/src/binder/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,20 @@ for (const registry of TaggableResourceLocationCategories) {
// Resource pack
resource('atlases', { pack: 'assets', category: 'atlas', since: '1.19.3' })
resource('blockstates', { pack: 'assets', category: 'block_definition' })
resource('equipment', { pack: 'assets', category: 'equipment', since: '1.21.4' })
resource('fonts', { pack: 'assets', category: 'font', since: '1.16' })
resource('fonts', { pack: 'assets', category: 'font/ttf', since: '1.16', ext: '.ttf' })
resource('fonts', { pack: 'assets', category: 'font/otf', since: '1.16', ext: '.otf' })
resource('fonts', { pack: 'assets', category: 'font/unihex', since: '1.20', ext: '.zip' })
resource('items', { pack: 'assets', category: 'item_definition', since: '1.21.4' })
resource('lang', { pack: 'assets', category: 'lang' })
resource('models', { pack: 'assets', category: 'model' })
resource('models/equipment', {
pack: 'assets',
category: 'equipment',
since: '1.21.2',
until: '1.21.4',
})
resource('particles', { pack: 'assets', category: 'particle' })
resource('post_effect', { pack: 'assets', since: '1.21.2' })
resource('shaders/post', { pack: 'assets', category: 'post_effect', until: '1.21.2' })
Expand Down
1 change: 1 addition & 0 deletions packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"assets/*/atlases/**/*.json",
"assets/*/blockstates/**/*.json",
"assets/*/items/**/*.json",
"assets/*/equipment/**/*.json",
"assets/*/fonts/**/*.json",
"assets/*/lang/**/*.json",
"assets/*/models/**/*.json",
Expand Down

0 comments on commit 70142b6

Please sign in to comment.