mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Fix Text mcdoc references
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user