Skip to content

Commit 0afa17f

Browse files
committed
✨ Add target version for MC 1.21.6
1 parent 99ab43c commit 0afa17f

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

src/components/textDisplayElementPanel.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@
193193
white-space: pre;
194194
tab-size: 4;
195195
}
196+
.codejar-container {
197+
width: 100%;
198+
}
196199
.codejar-container :global(.language-snbtTextComponent) {
197200
& .brackets {
198201
color: #5ba8c5;

src/systems/datapackCompiler/mcbFiles.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ const MCB_FILES: Record<SUPPORTED_MINECRAFT_VERSIONS, MCBFiles> = {
3434
global: GLOBAL_1_21_5,
3535
globalTemplates: GLOBAL_TEMPLATES_1_20_4,
3636
},
37+
'1.21.6': {
38+
animation: ANIMATION_1_21_4,
39+
static: STATIC_1_21_4,
40+
global: GLOBAL_1_21_5,
41+
globalTemplates: GLOBAL_TEMPLATES_1_20_4,
42+
},
3743
'1.21.5': {
3844
animation: ANIMATION_1_21_4,
3945
static: STATIC_1_21_4,

src/systems/global.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { sortObjectKeys } from './util'
44

55
export enum SUPPORTED_MINECRAFT_VERSIONS {
66
'1.21.9' = '1.21.9',
7+
'1.21.6' = '1.21.6',
78
'1.21.5' = '1.21.5',
89
'1.21.4' = '1.21.4',
910
'1.21.2' = '1.21.2',

src/systems/resourcepackCompiler/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const VERSIONED_RESOURCE_PACK_COMPILERS: Record<
1414
ResourcePackCompiler
1515
> = {
1616
'1.21.9': EXPORT_1_21_4,
17+
'1.21.6': EXPORT_1_21_4,
1718
'1.21.5': EXPORT_1_21_4,
1819
'1.21.4': EXPORT_1_21_4,
1920
'1.21.2': EXPORT_1_21_2,

0 commit comments

Comments
 (0)