Fix Text mcdoc references
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled

This commit is contained in:
Misode
2025-04-07 01:20:45 +02:00
parent 31b4c66f40
commit 8d610a358b
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ export function getRootType(id: string): McdocType {
return { kind: 'reference', path: '::java::pack::Pack' }
}
if (id === 'text_component' ) {
return { kind: 'reference', path: '::java::server::util::text::Text' }
return { kind: 'reference', path: '::java::util::text::Text' }
}
if (id.startsWith('tag/')) {
const attribute: AttributeValue = {

View File

@@ -27,7 +27,7 @@ export const DRAFTS_URI = `${ROOT_URI}drafts/`
const INITIAL_DIRS = [CACHE_URI, ROOT_URI, DEPENDENCY_URI, UNSAVED_URI, PROJECTS_URI, DRAFTS_URI]
const builtinMcdoc = `
use ::java::server::util::text::Text
use ::java::util::text::Text
use ::java::data::worldgen::dimension::Dimension
dispatch minecraft:resource[text_component] to Text