EntitySchema:E5: Difference between revisions

From Minecraft JE Data
Jump to navigation Jump to search
(Created a new Schema: spawn egg)
 
(Updated Schema text)
Schema / Line 4: Schema / Line 4:
start=@<spawn_egg>
start=@<spawn_egg>


<spawn_egg> EXTRA wdt:P1 {
<spawn_egg> EXTRA wdt:P2 {
   wdt:P2 [wd:Q1335]; # instance of spawn egg
   wdt:P2 [wd:Q1335]; # instance of spawn egg
   wdt:P20 [wd:Q1298]; # part of item registry
   wdt:P20 [wd:Q1298]; # part of item registry

Revision as of 13:53, 13 July 2022

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: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];
}