EntitySchema:E2: Difference between revisions

From Minecraft JE Data
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text)
 
(2 intermediate revisions by the same user not shown)
Labels / enLabels / en
blockblock registry entry
Schema / Line 4: Schema / Line 4:
start = @<block>
start = @<block>


<block> EXTRA wdt:P2 {
<block> {
   wdt:P2 wd:Q44;
  wdt:P1 [wd:Q1639]; #is a registry entry
   wdt:P4 . *; # resource location / id
   wdt:P20 [wd:Q1299]; #part of block registry
  wdt:P24 @<version>; #added in
   wdt:P4 . +; # one or more resource location
  wdt:P46 @<block-tag> *;
}
 
<version> {
  wdt:P1 [wd:Q1336 wd:Q1445 wd:Q1492 wd:Q1488 wd:Q1489 wd:Q1491];
}
 
<block-tag> {
  wdt:P1 [wd:Q1684];
}
}

Latest revision as of 23:30, 19 July 2022

language codelabeldescriptionaliasesedit
enblock registry entryedit
PREFIX wd: <https://mcje-data.wikibase.cloud/entity/>
PREFIX wdt: <https://mcje-data.wikibase.cloud/prop/direct/>

start = @<block>

<block> {
  wdt:P1 [wd:Q1639]; #is a registry entry
  wdt:P20 [wd:Q1299]; #part of block registry
  wdt:P24 @<version>; #added in
  wdt:P4 . +; # one or more resource location
  wdt:P46 @<block-tag> *;
}

<version> {
  wdt:P1 [wd:Q1336 wd:Q1445 wd:Q1492 wd:Q1488 wd:Q1489 wd:Q1491];
}

<block-tag> {
  wdt:P1 [wd:Q1684];
}