This commit is contained in:
Misode
2024-03-21 01:04:46 +01:00
parent 497964ef1b
commit 1e5a4262f8
3 changed files with 9 additions and 9 deletions
+7 -7
View File
@@ -22,7 +22,7 @@
"@mcschema/java-1.20": "^0.0.18",
"@mcschema/java-1.20.2": "^0.0.7",
"@mcschema/java-1.20.3": "^0.0.8",
"@mcschema/java-1.20.5": "^0.0.12",
"@mcschema/java-1.20.5": "^0.0.14",
"@mcschema/locales": "^0.1.97",
"@zip.js/zip.js": "^2.4.5",
"brace": "^0.11.1",
@@ -668,9 +668,9 @@
}
},
"node_modules/@mcschema/java-1.20.5": {
"version": "0.0.12",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.20.5/-/java-1.20.5-0.0.12.tgz",
"integrity": "sha512-A0Du60iAUBUv1PMO0Z6DIrVtN6jv/t0qGUKUh2wGeUWtUKD++aKk33zhwVKPyxyF37gDRCiRvZs91ijLnxvEAw==",
"version": "0.0.14",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.20.5/-/java-1.20.5-0.0.14.tgz",
"integrity": "sha512-8+vR90WWJQuq0MvsgDH1ooaekt4W9vgkZQAVLE064edV+YMl8awyZZCQfKtmZ8ghKxg2FVGcQ8uog593Cy1B8Q==",
"dependencies": {
"@mcschema/core": "^0.13.0"
}
@@ -4777,9 +4777,9 @@
}
},
"@mcschema/java-1.20.5": {
"version": "0.0.12",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.20.5/-/java-1.20.5-0.0.12.tgz",
"integrity": "sha512-A0Du60iAUBUv1PMO0Z6DIrVtN6jv/t0qGUKUh2wGeUWtUKD++aKk33zhwVKPyxyF37gDRCiRvZs91ijLnxvEAw==",
"version": "0.0.14",
"resolved": "https://registry.npmjs.org/@mcschema/java-1.20.5/-/java-1.20.5-0.0.14.tgz",
"integrity": "sha512-8+vR90WWJQuq0MvsgDH1ooaekt4W9vgkZQAVLE064edV+YMl8awyZZCQfKtmZ8ghKxg2FVGcQ8uog593Cy1B8Q==",
"requires": {
"@mcschema/core": "^0.13.0"
}
+1 -1
View File
@@ -28,7 +28,7 @@
"@mcschema/java-1.20": "^0.0.18",
"@mcschema/java-1.20.2": "^0.0.7",
"@mcschema/java-1.20.3": "^0.0.8",
"@mcschema/java-1.20.5": "^0.0.12",
"@mcschema/java-1.20.5": "^0.0.14",
"@mcschema/locales": "^0.1.97",
"@zip.js/zip.js": "^2.4.5",
"brace": "^0.11.1",
+1 -1
View File
@@ -485,7 +485,7 @@ function StringSuffix({ path, getValues, config, node, value, lang, version, sta
{values.map(v => <option value={v} />)}
</datalist>}
{['generator_biome.biome'].includes(context) && <input type="color" value={rgbToHex(biomeColors[fullId] ?? VanillaColors[fullId] ?? stringToColor(fullId))} onChange={v => setBiomeColor(fullId, hexToRgb(v.currentTarget.value))}></input>}
{['attribute_modifier.id', 'text_component_object.hoverEvent.show_entity.contents.id'].includes(context) && <button onClick={() => path.set(generateUUID())} class="tooltipped tip-se" aria-label={localize(lang, 'generate_new_uuid')}>{Octicon.sync}</button>}
{['attribute_modifier.id', 'attribute_modifier.uuid', 'text_component_object.hoverEvent.show_entity.contents.id'].includes(context) && <button onClick={() => path.set(generateUUID())} class="tooltipped tip-se" aria-label={localize(lang, 'generate_new_uuid')}>{Octicon.sync}</button>}
{gen && values.includes(value) && value.startsWith('minecraft:') &&
<a href={`/${gen.url}/?version=${version}&preset=${value.replace(/^minecraft:/, '')}`} class="tooltipped tip-se" aria-label={localize(lang, 'follow_reference')}>{Octicon.link_external}</a>}
</>