EntitySchema talk:E5

From Minecraft JE Data
Jump to navigation Jump to search

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