Skip to content
Success

Changes

Summary

  1. SPIGOT-1592: Implement ItemMeta for Spawn Eggs (details)
Commit 04202c0ace026b51160ea18dec5434a3263c936d by md_5
SPIGOT-1592: Implement ItemMeta for Spawn Eggs
The Minecraft implementation of spawn eggs is able to construct an
entity using all data that is present in the save format, however since
the Bukkit API has no such way to construct an entity unattached to a
world, and it appears creating such a way is a very challenging task,
the decision was instead made to add this API now that 1.11 has entities
which may not be represented by data values. In the future it may be
possible to implement a more expanded API cognate with this one.
The file was modified src/test/java/org/bukkit/craftbukkit/inventory/ItemMetaTest.java
The file was addedsrc/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java
The file was modified src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java
The file was modified src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java
The file was modified src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java