EntitySchema talk:E5: Difference between revisions

From Minecraft JE Data
Jump to navigation Jump to search
(Created page with "{{shexurl}}")
 
No edit summary
Line 1: Line 1:
{{shexurl}}
{{schemaDescription
|schema=
PREFIX wd: <https://mcje-data.wikibase.cloud/entity/>
PREFIX wdt: <https://mcje-data.wikibase.cloud/prop/direct/>
 
start=@<spawn_egg>
 
<spawn_egg> EXTRA wdt:P2 {
  wdt:P2 [wd:Q1335]; # instance of spawn egg
  wdt:P20 [wd:Q1298]; # part of item registry
  wdt:P4 . +; # has at least one resource location value
  wdt:P30 @<mob>; # has exactly one mob for spawn egg of
}
 
<mob> EXTRA wdt:P2 {
  wdt:P2 [wd:Q1508];
}
|translation=start at <spawn_egg>
*<spawn_egg> has one or more {{P|P2}} with:
**1 {{P|P2}} which is one of {{Q|Q1335}}
**1 {{P|P20}} which is one of {{Q|Q1298}}
**1 or more {{P|P4}} with any value
**1 {{P|P30}} which has shape <mob>
 
*<mob> has one or more {{P|P2}} with:
**1 {{P|P2}} which is one of {{Q|Q1508}}
}}

Revision as of 14:08, 13 July 2022

Documentation

Schema Text Translation
PREFIX wd: <https://mcje-data.wikibase.cloud/entity/>
PREFIX wdt: <https://mcje-data.wikibase.cloud/prop/direct/>

start=@<spawn_egg>

<spawn_egg> EXTRA wdt:P2 {
  wdt:P2 [wd:Q1335]; # instance of spawn egg
  wdt:P20 [wd:Q1298]; # part of item registry
  wdt:P4 . +; # has at least one resource location value
  wdt:P30 @<mob>; # has exactly one mob for spawn egg of
}

<mob> EXTRA wdt:P2 {
  wdt:P2 [wd:Q1508];
} 
start at <spawn_egg>
Please note that this documentation is manually updated. The information may not be correct if the schema has been changed since this talk page was last updated