spawn egg (E5)

From Minecraft JE Data
Jump to navigation Jump to search
language codelabeldescriptionaliasesedit
enspawn eggentity schema for a spawn eggedit
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];
}