Compare commits

...

3 Commits

Author SHA1 Message Date
Misode
fc029d9b60 Add 26.2 with surfur cube archetype
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
2026-04-07 18:45:59 +02:00
Misode
0eec3753b4 Update some dependencies
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
2026-04-07 15:53:22 +02:00
Misode
88ce717726 Use 26.1.1 ref instead of latest snapshot 2026-04-07 14:33:27 +02:00
6 changed files with 552 additions and 358 deletions

View File

@@ -10,7 +10,7 @@
gtag('config', 'G-S982VZS08T', {
send_page_view: false,
theme: localStorage.getItem('theme') || 'default',
version: localStorage.getItem('schema_version') || '1.21.9',
version: localStorage.getItem('schema_version') || '26.1',
locale: localStorage.getItem('language') || 'en',
prefers_color_scheme: matchMedia('(prefers-color-scheme: light)').matches ? 'light' : matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'none',
tree_view_mode: localStorage.getItem('misode_tree_view_mode') || 'default',

872
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -16,12 +16,12 @@
"license": "MIT",
"dependencies": {
"@giscus/react": "^2.2.3",
"@spyglassmc/core": "^0.4.43",
"@spyglassmc/java-edition": "^0.3.55",
"@spyglassmc/json": "^0.3.47",
"@spyglassmc/core": "^0.4.45",
"@spyglassmc/java-edition": "^0.3.57",
"@spyglassmc/json": "^0.3.49",
"@spyglassmc/locales": "^0.3.22",
"@spyglassmc/mcdoc": "^0.3.47",
"@spyglassmc/nbt": "^0.3.49",
"@spyglassmc/mcdoc": "^0.3.49",
"@spyglassmc/nbt": "^0.3.51",
"@zip.js/zip.js": "^2.4.5",
"brace": "^0.11.1",
"buffer": "^6.0.3",
@@ -29,7 +29,7 @@
"deepslate-1.18": "npm:deepslate@0.9.0-beta.9",
"deepslate-1.18.2": "npm:deepslate@0.9.0",
"deepslate-1.20.4": "npm:deepslate@0.20.1",
"diff": "^7.0.0",
"diff": "^8.0.4",
"dompurify": "^3.2.6",
"highlight.js": "^11.5.1",
"howler": "^2.2.3",

View File

@@ -1,9 +1,9 @@
import config from '../Config.js'
export const VersionIds = ['1.15', '1.16', '1.17', '1.18', '1.18.2', '1.19', '1.19.3', '1.19.4', '1.20', '1.20.2', '1.20.3', '1.20.5', '1.21', '1.21.2', '1.21.4', '1.21.5', '1.21.6', '1.21.9', '1.21.11', '26.1'] as const
export const VersionIds = ['1.15', '1.16', '1.17', '1.18', '1.18.2', '1.19', '1.19.3', '1.19.4', '1.20', '1.20.2', '1.20.3', '1.20.5', '1.21', '1.21.2', '1.21.4', '1.21.5', '1.21.6', '1.21.9', '1.21.11', '26.1', '26.2'] as const
export type VersionId = typeof VersionIds[number]
export const DEFAULT_VERSION: VersionId = '1.21.11'
export const DEFAULT_VERSION: VersionId = '26.1'
export function checkVersion(versionId: string, minVersionId: string | undefined, maxVersionId?: string) {
const version = config.versions.findIndex(v => v.id === versionId)

View File

@@ -212,9 +212,16 @@
},
{
"id": "26.1",
"ref": "26.1.1",
"name": "26.1",
"pack_format": 101,
"show": true
},
{
"id": "26.2",
"dynamic": true,
"name": "26.1 (dev)",
"pack_format": 95,
"name": "26.2",
"pack_format": 101,
"show": true
}
],
@@ -388,7 +395,13 @@
{
"id": "trade_set",
"url": "trade-set",
"minVersion": "26.1"
"minVersion": "26.1",
"wiki": "https://minecraft.wiki/w/Trade_set"
},
{
"id": "sulfur_cube_archetype",
"url": "sulfur-cube-archetype",
"minVersion": "26.2"
},
{
"id": "text_component",

View File

@@ -117,6 +117,7 @@
"generator.post_effect": "Post Effect",
"generator.predicate": "Predicate",
"generator.recipe": "Recipe",
"generator.sulfur_cube_archetype": "Sulfur Cube Archetype",
"generator.switch_version": "Switch to %0%",
"generator.tag/banner_pattern": "Banner Pattern Tag",
"generator.tag/block": "Block Tag",