mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Add font generator
This commit is contained in:
84
package-lock.json
generated
84
package-lock.json
generated
@@ -12,12 +12,12 @@
|
||||
"@giscus/react": "^1.1.2",
|
||||
"@mcschema/core": "^0.12.35",
|
||||
"@mcschema/java-1.15": "^0.2.6",
|
||||
"@mcschema/java-1.16": "^0.6.10",
|
||||
"@mcschema/java-1.17": "^0.2.29",
|
||||
"@mcschema/java-1.18": "^0.3.5",
|
||||
"@mcschema/java-1.18.2": "^0.1.10",
|
||||
"@mcschema/java-1.19": "^0.1.29",
|
||||
"@mcschema/locales": "^0.1.65",
|
||||
"@mcschema/java-1.16": "^0.6.11",
|
||||
"@mcschema/java-1.17": "^0.2.30",
|
||||
"@mcschema/java-1.18": "^0.3.6",
|
||||
"@mcschema/java-1.18.2": "^0.1.12",
|
||||
"@mcschema/java-1.19": "^0.1.31",
|
||||
"@mcschema/locales": "^0.1.67",
|
||||
"@zip.js/zip.js": "^2.4.5",
|
||||
"brace": "^0.11.1",
|
||||
"buffer": "^6.0.3",
|
||||
@@ -530,49 +530,49 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@mcschema/java-1.16": {
|
||||
"version": "0.6.10",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.16/-/java-1.16-0.6.10.tgz",
|
||||
"integrity": "sha512-652smG8HSuwG0LAJ3v8RejRo4+Up6XMlHv87TjPzOlFhVBeGwf4Hg4/vX8DEdsxInBU/9k9PbcG2k+kDrsyg/A==",
|
||||
"version": "0.6.11",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.16/-/java-1.16-0.6.11.tgz",
|
||||
"integrity": "sha512-5uTKMvu84q0+Aai/FTfBc/D6neifnZUPx8wYDCvbmNcnL3m4Q3r/FmuSJ9HpYHi++ZUlCIHoAqV940oBJxv+9w==",
|
||||
"dependencies": {
|
||||
"@mcschema/core": "^0.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@mcschema/java-1.17": {
|
||||
"version": "0.2.29",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.17/-/java-1.17-0.2.29.tgz",
|
||||
"integrity": "sha512-ybHT3SVHz1+1PqcIhdhpO5r6xLFzhAfcAArfdTf4mwkRNJ0BOzfuUxp0OH/A6JeG9JhlI/SAZp2dfR43ZfUdWQ==",
|
||||
"version": "0.2.30",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.17/-/java-1.17-0.2.30.tgz",
|
||||
"integrity": "sha512-KtqJF3ovUxY1ncT93FSpwukMtHfUR2qX+822rUX3YFKxzSVATKxs48xm/nRRKpzPPlsqxDJpU3VaYH2Wgb+19A==",
|
||||
"dependencies": {
|
||||
"@mcschema/core": "^0.12.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@mcschema/java-1.18": {
|
||||
"version": "0.3.5",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.18/-/java-1.18-0.3.5.tgz",
|
||||
"integrity": "sha512-97ZvRvGM/Hixe/wSf+boTFl9uV917bXCTSMFHuNrAiqjZZHpCJNAConjtDlJUZ1kqsc8ixvgJFLeMnXEJkUH2Q==",
|
||||
"version": "0.3.6",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.18/-/java-1.18-0.3.6.tgz",
|
||||
"integrity": "sha512-PXWO5QRW+IC9n1+kFjoQfVwluh2sw42Iw1k5H+c6iPx0UradXLPKnSxD30mgFJEO20yjz8uZSLmLdsVWsD5Tig==",
|
||||
"dependencies": {
|
||||
"@mcschema/core": "^0.12.20"
|
||||
}
|
||||
},
|
||||
"node_modules/@mcschema/java-1.18.2": {
|
||||
"version": "0.1.10",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.18.2/-/java-1.18.2-0.1.10.tgz",
|
||||
"integrity": "sha512-jsMhD87/A6pTxWmnaYRSoE4XehDnWXGoBDgxqc9IbB7zw5ZrsfP3Qp6uFRGTX1bLHUZbaoqdMraePXSdd5O4uQ==",
|
||||
"version": "0.1.12",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.18.2/-/java-1.18.2-0.1.12.tgz",
|
||||
"integrity": "sha512-xZJm0f7cxyPI/4E9MnnMLs5S5OfvcGuNUf/q0nBFHhbSn7nCIiZxhHPt6iQSxNkSPEG3IwdAE55xoAoKgCLUbg==",
|
||||
"dependencies": {
|
||||
"@mcschema/core": "^0.12.29"
|
||||
}
|
||||
},
|
||||
"node_modules/@mcschema/java-1.19": {
|
||||
"version": "0.1.29",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19/-/java-1.19-0.1.29.tgz",
|
||||
"integrity": "sha512-VhgPSFsu82D1yPi/eowo8r93trSzxQyjWfyditi+nU0f+J8HSv2CoEa3wbksyJcXgzu21rtFk8Mc2gwH7qP8NQ==",
|
||||
"version": "0.1.31",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19/-/java-1.19-0.1.31.tgz",
|
||||
"integrity": "sha512-LgNUVtPXOZvWKjgGKkqyG87D+QGJ7cJkBE02rYQkONCVYePMw3rWhnieyliAbh6e26xrJ/7MyBMTwF1JSI9+KA==",
|
||||
"dependencies": {
|
||||
"@mcschema/core": "^0.12.34"
|
||||
}
|
||||
},
|
||||
"node_modules/@mcschema/locales": {
|
||||
"version": "0.1.65",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.65.tgz",
|
||||
"integrity": "sha512-5O8rO0+ZuiPq0oZAEecy+dYtpl2d56v4PPxCRX26qPT3280umfkin6wk2a/8iHI2vlRqXkMF+kOqewAwyOM+wA=="
|
||||
"version": "0.1.67",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.67.tgz",
|
||||
"integrity": "sha512-Km6W+AG0+jgMZwF3K6yaUyTESYheWBOIQNMtP5wL0JJbUwkR+V7LJOg1lkPTOisDkR+jOraJxZ4xyNrdpjc1xg=="
|
||||
},
|
||||
"node_modules/@nodelib/fs.scandir": {
|
||||
"version": "2.1.5",
|
||||
@@ -5597,49 +5597,49 @@
|
||||
}
|
||||
},
|
||||
"@mcschema/java-1.16": {
|
||||
"version": "0.6.10",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.16/-/java-1.16-0.6.10.tgz",
|
||||
"integrity": "sha512-652smG8HSuwG0LAJ3v8RejRo4+Up6XMlHv87TjPzOlFhVBeGwf4Hg4/vX8DEdsxInBU/9k9PbcG2k+kDrsyg/A==",
|
||||
"version": "0.6.11",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.16/-/java-1.16-0.6.11.tgz",
|
||||
"integrity": "sha512-5uTKMvu84q0+Aai/FTfBc/D6neifnZUPx8wYDCvbmNcnL3m4Q3r/FmuSJ9HpYHi++ZUlCIHoAqV940oBJxv+9w==",
|
||||
"requires": {
|
||||
"@mcschema/core": "^0.12.0"
|
||||
}
|
||||
},
|
||||
"@mcschema/java-1.17": {
|
||||
"version": "0.2.29",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.17/-/java-1.17-0.2.29.tgz",
|
||||
"integrity": "sha512-ybHT3SVHz1+1PqcIhdhpO5r6xLFzhAfcAArfdTf4mwkRNJ0BOzfuUxp0OH/A6JeG9JhlI/SAZp2dfR43ZfUdWQ==",
|
||||
"version": "0.2.30",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.17/-/java-1.17-0.2.30.tgz",
|
||||
"integrity": "sha512-KtqJF3ovUxY1ncT93FSpwukMtHfUR2qX+822rUX3YFKxzSVATKxs48xm/nRRKpzPPlsqxDJpU3VaYH2Wgb+19A==",
|
||||
"requires": {
|
||||
"@mcschema/core": "^0.12.4"
|
||||
}
|
||||
},
|
||||
"@mcschema/java-1.18": {
|
||||
"version": "0.3.5",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.18/-/java-1.18-0.3.5.tgz",
|
||||
"integrity": "sha512-97ZvRvGM/Hixe/wSf+boTFl9uV917bXCTSMFHuNrAiqjZZHpCJNAConjtDlJUZ1kqsc8ixvgJFLeMnXEJkUH2Q==",
|
||||
"version": "0.3.6",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.18/-/java-1.18-0.3.6.tgz",
|
||||
"integrity": "sha512-PXWO5QRW+IC9n1+kFjoQfVwluh2sw42Iw1k5H+c6iPx0UradXLPKnSxD30mgFJEO20yjz8uZSLmLdsVWsD5Tig==",
|
||||
"requires": {
|
||||
"@mcschema/core": "^0.12.20"
|
||||
}
|
||||
},
|
||||
"@mcschema/java-1.18.2": {
|
||||
"version": "0.1.10",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.18.2/-/java-1.18.2-0.1.10.tgz",
|
||||
"integrity": "sha512-jsMhD87/A6pTxWmnaYRSoE4XehDnWXGoBDgxqc9IbB7zw5ZrsfP3Qp6uFRGTX1bLHUZbaoqdMraePXSdd5O4uQ==",
|
||||
"version": "0.1.12",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.18.2/-/java-1.18.2-0.1.12.tgz",
|
||||
"integrity": "sha512-xZJm0f7cxyPI/4E9MnnMLs5S5OfvcGuNUf/q0nBFHhbSn7nCIiZxhHPt6iQSxNkSPEG3IwdAE55xoAoKgCLUbg==",
|
||||
"requires": {
|
||||
"@mcschema/core": "^0.12.29"
|
||||
}
|
||||
},
|
||||
"@mcschema/java-1.19": {
|
||||
"version": "0.1.29",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19/-/java-1.19-0.1.29.tgz",
|
||||
"integrity": "sha512-VhgPSFsu82D1yPi/eowo8r93trSzxQyjWfyditi+nU0f+J8HSv2CoEa3wbksyJcXgzu21rtFk8Mc2gwH7qP8NQ==",
|
||||
"version": "0.1.31",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/java-1.19/-/java-1.19-0.1.31.tgz",
|
||||
"integrity": "sha512-LgNUVtPXOZvWKjgGKkqyG87D+QGJ7cJkBE02rYQkONCVYePMw3rWhnieyliAbh6e26xrJ/7MyBMTwF1JSI9+KA==",
|
||||
"requires": {
|
||||
"@mcschema/core": "^0.12.34"
|
||||
}
|
||||
},
|
||||
"@mcschema/locales": {
|
||||
"version": "0.1.65",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.65.tgz",
|
||||
"integrity": "sha512-5O8rO0+ZuiPq0oZAEecy+dYtpl2d56v4PPxCRX26qPT3280umfkin6wk2a/8iHI2vlRqXkMF+kOqewAwyOM+wA=="
|
||||
"version": "0.1.67",
|
||||
"resolved": "https://registry.npmjs.org/@mcschema/locales/-/locales-0.1.67.tgz",
|
||||
"integrity": "sha512-Km6W+AG0+jgMZwF3K6yaUyTESYheWBOIQNMtP5wL0JJbUwkR+V7LJOg1lkPTOisDkR+jOraJxZ4xyNrdpjc1xg=="
|
||||
},
|
||||
"@nodelib/fs.scandir": {
|
||||
"version": "2.1.5",
|
||||
|
||||
12
package.json
12
package.json
@@ -18,12 +18,12 @@
|
||||
"@giscus/react": "^1.1.2",
|
||||
"@mcschema/core": "^0.12.35",
|
||||
"@mcschema/java-1.15": "^0.2.6",
|
||||
"@mcschema/java-1.16": "^0.6.10",
|
||||
"@mcschema/java-1.17": "^0.2.29",
|
||||
"@mcschema/java-1.18": "^0.3.5",
|
||||
"@mcschema/java-1.18.2": "^0.1.10",
|
||||
"@mcschema/java-1.19": "^0.1.29",
|
||||
"@mcschema/locales": "^0.1.65",
|
||||
"@mcschema/java-1.16": "^0.6.11",
|
||||
"@mcschema/java-1.17": "^0.2.30",
|
||||
"@mcschema/java-1.18": "^0.3.6",
|
||||
"@mcschema/java-1.18.2": "^0.1.12",
|
||||
"@mcschema/java-1.19": "^0.1.31",
|
||||
"@mcschema/locales": "^0.1.67",
|
||||
"@zip.js/zip.js": "^2.4.5",
|
||||
"brace": "^0.11.1",
|
||||
"buffer": "^6.0.3",
|
||||
|
||||
@@ -10,6 +10,7 @@ export const Icons = {
|
||||
chat_type: <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 0C1.79086 0 0 1.79086 0 4V21C0 23.2091 1.79086 25 4 25H8V30.7732C8 31.636 9.01946 32.0938 9.66436 31.5206L17 25H28C30.2091 25 32 23.2091 32 21V4C32 1.79086 30.2091 0 28 0H4Z"/></svg>,
|
||||
dimension: <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.7659 0.445701C18.5582 0.154357 17.2971 0 16 0C12.7056 0 9.64369 0.995672 7.09887 2.70251C7.94418 3.62868 8.45554 4.49063 8.75229 5.30669C9.09264 6.24263 9.125 7.05145 9.125 7.6875C9.125 7.78933 9.12466 7.88242 9.12434 7.96797V7.96834V7.96869V7.96901V7.96902C9.12247 8.47232 9.12158 8.71409 9.19707 8.93677C9.24638 9.08226 9.36226 9.31309 9.94721 9.60557C10.5615 9.91273 10.7586 9.8353 10.7733 9.82952L10.7739 9.82929C10.8476 9.80165 10.9347 9.73088 11.2191 9.3753L11.256 9.32901C11.4803 9.04661 11.8843 8.53789 12.5239 8.29804C13.2651 8.02009 14.0719 8.16789 14.9472 8.60557C16.4469 9.35541 17.3707 9.72195 17.9896 9.84301C18.2833 9.90046 18.4612 9.89221 18.5724 9.86953C18.6731 9.84897 18.7646 9.80771 18.8753 9.71913C19.2786 9.39647 19.6673 8.76901 19.9604 7.83984C20.2468 6.93156 20.4085 5.83955 20.4378 4.72369C20.4672 3.60868 20.3634 2.50945 20.1445 1.59133C20.0358 1.13577 19.9057 0.75371 19.7659 0.445701ZM5.50368 3.92379C2.13164 6.85717 4.76837e-07 11.1797 4.76837e-07 16C4.76837e-07 16.1436 0.00189157 16.2867 0.00565022 16.4294C1.54401 16.9679 2.98111 16.6462 4.47925 16.2249C4.59499 16.1923 4.71296 16.1585 4.83279 16.1242L4.83282 16.1242C5.68141 15.881 6.62293 15.6113 7.5179 15.5713C8.62706 15.5218 9.72807 15.8138 10.7071 16.7929C11.7646 17.8503 12.0777 19.3283 11.8236 20.6012C11.5699 21.8719 10.7059 23.1043 9.24253 23.4702C8.94395 23.5448 8.87224 23.6435 8.85319 23.6716C8.82014 23.7204 8.77492 23.8288 8.77233 24.0677C8.7697 24.3108 8.81045 24.5892 8.869 24.9304L8.88606 25.0286L8.88606 25.0286C8.93527 25.3102 9 25.6807 9 26C9 27.4332 8.58821 28.8019 8.09018 29.9113C10.4231 31.2406 13.1229 32 16 32C19.5354 32 22.8029 30.8534 25.4511 28.9117C25.3471 28.7646 25.2399 28.6153 25.1301 28.465C24.5506 27.672 23.9089 26.8682 23.2732 26.2107C22.6167 25.5315 22.05 25.0971 21.6286 24.9285C20.8738 24.6266 20.1566 24.1617 19.9616 23.3144C19.8718 22.9244 19.9228 22.5591 20.0033 22.2613C20.0827 21.9675 20.2083 21.6782 20.3292 21.4199C20.3937 21.2823 20.4611 21.1436 20.5296 21.0026L20.5296 21.0024C20.9898 20.055 21.5 19.0047 21.5 17.5C21.5 16.2061 22.0035 15.2171 22.8218 14.4932C23.5953 13.8089 24.6068 13.3989 25.5877 13.1047C26.3248 12.8835 27.1287 12.7056 27.8822 12.5388L27.8824 12.5388L27.8824 12.5388L27.8824 12.5388C28.1297 12.484 28.3716 12.4305 28.6038 12.377C29.5877 12.1506 30.4202 11.9219 31.0528 11.6056C31.1525 11.5557 31.2566 11.5241 31.3612 11.5094C29.9973 6.83578 26.5583 3.04703 22.1087 1.2075C22.3608 2.30151 22.4695 3.54643 22.4372 4.7763C22.404 6.03545 22.2219 7.31843 21.8678 8.4414C21.5202 9.54349 20.9714 10.6035 20.1247 11.2809C19.7989 11.5415 19.4221 11.7373 18.9722 11.8291C18.5328 11.9188 18.0778 11.8982 17.6057 11.8058C16.6928 11.6273 15.5531 11.1446 14.0528 10.3944C13.4385 10.0873 13.2414 10.1647 13.2267 10.1705L13.2261 10.1707C13.1524 10.1983 13.0653 10.2691 12.7809 10.6247L12.744 10.671C12.5197 10.9534 12.1157 11.4621 11.4761 11.702C10.7349 11.9799 9.92815 11.8321 9.05279 11.3944C8.13774 10.9369 7.56612 10.3552 7.30294 9.57885C7.10968 9.00876 7.1174 8.37679 7.1232 7.90214V7.90213C7.12412 7.82627 7.125 7.75443 7.125 7.6875C7.125 7.13604 7.09486 6.60111 6.87271 5.99018C6.66804 5.42734 6.27867 4.74354 5.50368 3.92379ZM31.8004 13.4655C30.9636 13.8583 29.9823 14.1121 29.0524 14.3261C28.782 14.3883 28.5159 14.4472 28.2543 14.5052C27.5209 14.6676 26.8227 14.8222 26.1623 15.0203C25.2682 15.2886 24.5922 15.5973 24.147 15.9912C23.7465 16.3454 23.5 16.7939 23.5 17.5C23.5 19.496 22.7817 20.9579 22.3162 21.9053L22.3159 21.9058C22.2518 22.0363 22.1925 22.157 22.1405 22.268C22.0298 22.5045 21.9661 22.6645 21.934 22.7831C21.9282 22.8046 21.9241 22.8225 21.9212 22.837C21.9775 22.8824 22.105 22.965 22.3714 23.0715C23.2 23.403 24.0083 24.0935 24.7112 24.8206C25.4349 25.5693 26.1369 26.4531 26.7449 27.285C26.8288 27.3998 26.9111 27.5139 26.9917 27.6269C30.0758 24.7103 32 20.5798 32 16C32 15.1375 31.9318 14.291 31.8004 13.4655ZM6.39285 28.7958C6.7349 27.9612 7 26.9846 7 26C7 25.8639 6.96675 25.6702 6.9058 25.3152L6.8978 25.2686C6.84067 24.9356 6.76762 24.4924 6.77245 24.0461C6.77733 23.5956 6.86084 23.0468 7.19719 22.5502C7.54754 22.0328 8.08591 21.6977 8.75748 21.5299C9.2941 21.3957 9.72071 20.9187 9.86229 20.2096C10.0034 19.5028 9.81659 18.7308 9.2929 18.2071C8.77193 17.6861 8.24794 17.5407 7.6071 17.5693C6.96482 17.598 6.27253 17.7947 5.38824 18.0461L5.38718 18.0464L5.3833 18.0475C5.26594 18.0808 5.1452 18.1152 5.02075 18.1502C3.64971 18.5358 2.00798 18.9412 0.20345 18.5584C0.873856 22.73 3.15691 26.3624 6.39285 28.7958ZM21.8827 22.799C21.882 22.7982 21.8816 22.7979 21.8815 22.7979C21.881 22.798 21.883 22.8012 21.8886 22.8073C21.886 22.8031 21.884 22.8004 21.8827 22.799Z"/></svg>,
|
||||
dimension_type: <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.2929 22.7071C11.6834 23.0976 12.3166 23.0976 12.7071 22.7071L19.0711 16.3431C19.4616 15.9526 19.4616 15.3195 19.0711 14.9289C18.6805 14.5384 18.0474 14.5384 17.6569 14.9289L13 19.5858V14.1521C14.074 14.1106 15.2545 13.9152 16.5 13.5C17.4051 13.1983 18.0371 12.8511 18.602 12.5408C19.9096 11.8225 20.8576 11.3017 24 12V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V9.5C3 7.5 6 10.5 7.5 12.5C7.95659 13.1088 9.22475 13.7863 11 14.0485V19.5858L6.34315 14.9289C5.95262 14.5384 5.31946 14.5384 4.92893 14.9289C4.53841 15.3195 4.53841 15.9526 4.92893 16.3431L11.2929 22.7071ZM11 14.0485V3.41421L6.34315 8.07107C5.95262 8.46159 5.31946 8.46159 4.92893 8.07107C4.53841 7.68054 4.53841 7.04738 4.92893 6.65686L11.2929 0.292893C11.6834 -0.097631 12.3166 -0.097631 12.7071 0.292893L19.0711 6.65686C19.4616 7.04738 19.4616 7.68054 19.0711 8.07107C18.6805 8.46159 18.0474 8.46159 17.6569 8.07107L13 3.41421V14.1521C12.2816 14.1799 11.6108 14.1388 11 14.0485Z"/></svg>,
|
||||
font: <svg width="26" height="20" viewBox="0 0 26 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3 16V3H9V16H3ZM0 1C0 0.447715 0.447715 0 1 0H11C11.5523 0 12 0.447715 12 1V18C12 18.5523 11.5523 19 11 19H1C0.447715 19 0 18.5523 0 18V1ZM17.3224 18.8366C17.8622 19.0687 18.4801 19.1847 19.1761 19.1847C19.6828 19.1847 20.1373 19.1207 20.5398 18.9929C20.947 18.8651 21.2997 18.6733 21.598 18.4176C21.901 18.1619 22.1496 17.8494 22.3438 17.4801H22.429V19H25.696V11.5852C25.696 11.0076 25.5753 10.4938 25.3338 10.044C25.0971 9.59422 24.7609 9.21544 24.3253 8.90767C23.8897 8.59517 23.3783 8.35843 22.7912 8.19744C22.2041 8.03172 21.5625 7.94886 20.8665 7.94886C19.8911 7.94886 19.0554 8.10038 18.3594 8.40341C17.6681 8.7017 17.1236 9.11364 16.7259 9.6392C16.3329 10.16 16.089 10.7519 15.9943 11.4148L19.1974 11.5284C19.2732 11.178 19.4508 10.9034 19.7301 10.7045C20.0095 10.5057 20.3788 10.4062 20.8381 10.4062C21.2642 10.4062 21.6027 10.5057 21.8537 10.7045C22.1046 10.9034 22.2301 11.1851 22.2301 11.5497V11.5852C22.2301 11.8078 22.1425 11.9806 21.9673 12.1037C21.7969 12.2221 21.5223 12.3144 21.1435 12.3807C20.7647 12.4422 20.2652 12.5014 19.6449 12.5582C19.0909 12.6056 18.5701 12.6979 18.0824 12.8352C17.5947 12.9678 17.1638 13.1643 16.7898 13.4247C16.4157 13.6851 16.1222 14.0237 15.9091 14.4403C15.696 14.857 15.5895 15.3684 15.5895 15.9744C15.5895 16.6941 15.7434 17.2931 16.0511 17.7713C16.3636 18.2448 16.7874 18.5999 17.3224 18.8366ZM21.2571 16.6847C20.9588 16.8362 20.6226 16.9119 20.2486 16.9119C19.8509 16.9119 19.5218 16.8172 19.2614 16.6278C19.0057 16.4384 18.8778 16.1638 18.8778 15.804C18.8778 15.5672 18.937 15.3636 19.0554 15.1932C19.1785 15.018 19.3537 14.8759 19.581 14.767C19.813 14.6581 20.0923 14.5777 20.419 14.5256C20.58 14.5019 20.7481 14.4759 20.9233 14.4474C21.0985 14.419 21.2689 14.3859 21.4347 14.348C21.6004 14.3101 21.7519 14.2699 21.8892 14.2273C22.0312 14.1847 22.152 14.1373 22.2514 14.0852V15.1222C22.2514 15.4773 22.1615 15.7898 21.9815 16.0597C21.8016 16.3248 21.5601 16.5331 21.2571 16.6847Z"/></svg>,
|
||||
item_modifier: <svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><line x1="8.05026" y1="17.9498" x2="17.9498" y2="8.05026" stroke="currentColor" stroke-width="4" stroke-linecap="round"/><path d="M10.1749 4.51138C10.1749 4.51138 16.4785 3.75061 19.364 6.63604C22.2494 9.52148 21.4886 15.8251 21.4886 15.8251" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"/></svg>,
|
||||
loot_table: <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.159296 8.96068C-0.224317 6.7851 1.22836 4.71047 3.40393 4.32686L27.0393 0.159301C29.2149 -0.224312 31.2895 1.22836 31.6731 3.40394L35.8407 27.0393C36.2243 29.2149 34.7716 31.2895 32.5961 31.6731L8.96068 35.8407C6.7851 36.2243 4.71047 34.7716 4.32685 32.5961L0.159296 8.96068ZM11.5999 10.4974C11.9356 12.401 10.6645 14.2163 8.76089 14.552C6.85726 14.8876 5.04196 13.6165 4.7063 11.7129C4.37063 9.80928 5.64172 7.99398 7.54535 7.65832C9.44898 7.32266 11.2643 8.59375 11.5999 10.4974ZM25.5026 11.6C27.4063 11.2643 28.6773 9.44899 28.3417 7.54536C28.006 5.64173 26.1907 4.37064 24.2871 4.7063C22.3835 5.04196 21.1124 6.85727 21.448 8.7609C21.7837 10.6645 23.599 11.9356 25.5026 11.6ZM14.552 27.2391C14.8876 29.1427 13.6165 30.958 11.7129 31.2937C9.80928 31.6294 7.99398 30.3583 7.65831 28.4546C7.32265 26.551 8.59374 24.7357 10.4974 24.4001C12.401 24.0644 14.2163 25.3355 14.552 27.2391ZM28.4546 28.3417C30.3583 28.006 31.6294 26.1907 31.2937 24.2871C30.958 22.3835 29.1427 21.1124 27.2391 21.448C25.3355 21.7837 24.0644 23.599 24.4 25.5026C24.7357 27.4063 26.551 28.6773 28.4546 28.3417Z"/></svg>,
|
||||
model: <svg width="28" height="23" viewBox="0 0 28 23" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.75 0.27279C13.5437 -0.09095 14.4563 -0.0909509 15.25 0.27279L26.25 5.31446C27.3163 5.8032 28 6.86863 28 8.04165V15.3333C28 16.5444 27.2718 17.6367 26.1538 18.1025L15.1538 22.6859C14.4154 22.9936 13.5846 22.9936 12.8462 22.6859L1.84615 18.1025C0.728214 17.6367 0 16.5444 0 15.3333V8.04165C0 6.86863 0.683678 5.8032 1.75004 5.31446L12.75 0.27279ZM14 4.10002L6.92266 7.3438L14 10.2391L21.0773 7.3438L14 4.10002ZM24 10.4699V14.6666L16 18V13.7427L24 10.4699ZM12 13.7427L4 10.4699V14.6666L12 18V13.7427Z"/></svg>,
|
||||
|
||||
@@ -16,7 +16,7 @@ import { ModelWrapper } from './ModelWrapper.js'
|
||||
const selectRegistries = ['loot_table.type', 'loot_entry.type', 'function.function', 'condition.condition', 'criterion.trigger', 'recipe.type', 'dimension.generator.type', 'dimension.generator.biome_source.type', 'dimension.generator.biome_source.preset', 'carver.type', 'feature.type', 'decorator.type', 'feature.tree.minimum_size.type', 'block_state_provider.type', 'trunk_placer.type', 'foliage_placer.type', 'tree_decorator.type', 'int_provider.type', 'float_provider.type', 'height_provider.type', 'structure_feature.type', 'surface_builder.type', 'processor.processor_type', 'rule_test.predicate_type', 'pos_rule_test.predicate_type', 'template_element.element_type', 'block_placer.type', 'block_predicate.type', 'material_rule.type', 'material_condition.type', 'structure_placement.type', 'density_function.type', 'root_placer.type', 'entity.type_specific.cat.variant', 'entity.type_specific.frog.variant']
|
||||
const hiddenFields = ['number_provider.type', 'score_provider.type', 'nbt_provider.type', 'int_provider.type', 'float_provider.type', 'height_provider.type']
|
||||
const flattenedFields = ['feature.config', 'decorator.config', 'int_provider.value', 'float_provider.value', 'block_state_provider.simple_state_provider.state', 'block_state_provider.rotated_block_provider.state', 'block_state_provider.weighted_state_provider.entries.entry.data', 'rule_test.block_state', 'structure_feature.config', 'surface_builder.config', 'template_pool.elements.entry.element', 'decorator.block_survives_filter.state', 'material_rule.block.result_state']
|
||||
const inlineFields = ['loot_entry.type', 'function.function', 'condition.condition', 'criterion.trigger', 'dimension.generator.type', 'dimension.generator.biome_source.type', 'feature.type', 'decorator.type', 'block_state_provider.type', 'feature.tree.minimum_size.type', 'trunk_placer.type', 'foliage_placer.type', 'tree_decorator.type', 'block_placer.type', 'rule_test.predicate_type', 'processor.processor_type', 'template_element.element_type', 'nbt_operation.op', 'number_provider.value', 'score_provider.name', 'score_provider.target', 'nbt_provider.source', 'nbt_provider.target', 'generator_biome.biome', 'block_predicate.type', 'material_rule.type', 'material_condition.type', 'density_function.type', 'root_placer.type', 'entity.type_specific.type', 'immersive_weathering.area_condition.type', 'immersive_weathering.block_growth.growth_for_face.entry.direction', 'immersive_weathering.position_test.predicate_type']
|
||||
const inlineFields = ['loot_entry.type', 'function.function', 'condition.condition', 'criterion.trigger', 'dimension.generator.type', 'dimension.generator.biome_source.type', 'feature.type', 'decorator.type', 'block_state_provider.type', 'feature.tree.minimum_size.type', 'trunk_placer.type', 'foliage_placer.type', 'tree_decorator.type', 'block_placer.type', 'rule_test.predicate_type', 'processor.processor_type', 'template_element.element_type', 'nbt_operation.op', 'number_provider.value', 'score_provider.name', 'score_provider.target', 'nbt_provider.source', 'nbt_provider.target', 'generator_biome.biome', 'block_predicate.type', 'material_rule.type', 'material_condition.type', 'density_function.type', 'root_placer.type', 'entity.type_specific.type', 'glyph_provider.type', 'immersive_weathering.area_condition.type', 'immersive_weathering.block_growth.growth_for_face.entry.direction', 'immersive_weathering.position_test.predicate_type']
|
||||
const nbtFields = ['function.set_nbt.tag', 'advancement.display.icon.nbt', 'text_component_object.nbt', 'entity.nbt', 'block.nbt', 'item.nbt']
|
||||
const fixedLists = ['generator_biome.parameters.temperature', 'generator_biome.parameters.humidity', 'generator_biome.parameters.continentalness', 'generator_biome.parameters.erosion', 'generator_biome.parameters.depth', 'generator_biome.parameters.weirdness', 'feature.end_spike.crystal_beam_target', 'feature.end_gateway.exit', 'decorator.block_filter.offset', 'block_predicate.matching_blocks.offset', 'block_predicate.matching_fluids.offset', 'model_element.from', 'model_element.to', 'model_element.rotation.origin', 'model_element.faces.uv', 'item_transform.rotation', 'item_transform.translation', 'item_transform.scale', 'generator_structure.random_spread.locate_offset']
|
||||
const collapsedFields = ['noise_settings.surface_rule', 'noise_settings.noise.terrain_shaper']
|
||||
|
||||
@@ -85,7 +85,7 @@ export async function fetchPreset(versionId: VersionId, registry: string, id: st
|
||||
if (id.startsWith('immersive_weathering:')) {
|
||||
url = `https://raw.githubusercontent.com/AstralOrdana/Immersive-Weathering/main/src/main/resources/data/immersive_weathering/block_growths/${id.slice(21)}.json`
|
||||
} else {
|
||||
const type = ['blockstates', 'models'].includes(registry) ? 'assets' : 'data'
|
||||
const type = ['blockstates', 'models', 'font'].includes(registry) ? 'assets' : 'data'
|
||||
url = `${mcmeta(version, type)}/${type}/minecraft/${registry}/${id}.json`
|
||||
}
|
||||
const res = await fetch(url)
|
||||
|
||||
@@ -323,6 +323,14 @@
|
||||
"tags": ["assets"],
|
||||
"schema": "model"
|
||||
},
|
||||
{
|
||||
"id": "font",
|
||||
"url": "assets/font",
|
||||
"path": "font",
|
||||
"tags": ["assets"],
|
||||
"schema": "font",
|
||||
"minVersion": "1.16"
|
||||
},
|
||||
{
|
||||
"id": "block_growth",
|
||||
"url": "partners/immersive-weathering/block-growth",
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
"feature.decorated.decorators": "Decorators",
|
||||
"feature.decorated.decorators.entry": "Decorator",
|
||||
"follow_reference": "Follow reference",
|
||||
"font": "Font",
|
||||
"format.json": "JSON",
|
||||
"format.yaml": "YAML",
|
||||
"fields": "Fields",
|
||||
|
||||
Reference in New Issue
Block a user