EntitySchema talk:E5: Difference between revisions

From Minecraft JE Data
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:


<spawn_egg> EXTRA wdt:P2 {
<spawn_egg> EXTRA wdt:P2 {
   wdt:P2 [wd:Q1335]; # instance of spawn egg
  wdt:P1 [wd:Q1639]; # instance of registry entry
   wdt:P2 [wd:Q1335]; # subclass of spawn egg
   wdt:P20 [wd:Q1298]; # part of item registry
   wdt:P20 [wd:Q1298]; # part of item registry
   wdt:P4 . +; # has at least one resource location value
   wdt:P4 . +; # has at least one resource location value
Line 18: Line 19:
|translation=start at <spawn_egg>
|translation=start at <spawn_egg>
*<spawn_egg> has one or more {{P|P2}} with:
*<spawn_egg> has one or more {{P|P2}} with:
**1 {{P|P1}} which is one of {{Q|Q1639}}
**1 {{P|P2}} which is one of {{Q|Q1335}}
**1 {{P|P2}} which is one of {{Q|Q1335}}
**1 {{P|P20}} which is one of {{Q|Q1298}}
**1 {{P|P20}} which is one of {{Q|Q1298}}

Latest revision as of 15:53, 15 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:P1 [wd:Q1639]; # instance of registry entry
  wdt:P2 [wd:Q1335]; # subclass 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