Skip to content
Success

Changes

Summary

  1. SPIGOT-7731: Spawn eggs cannot have damage (details)
  2. SPIGOT-7736: Creative spawn egg use loses components (details)
  3. Fix spawn eggs with no entity creating invalid stacks and disconnect (details)
Commit c6b4d5a87fa1293e40ca0f3c56a687d7025839a5 by md_5
SPIGOT-7731: Spawn eggs cannot have damage
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/legacy/CraftLegacy.java
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java
The file was modifiedsrc/test/java/org/bukkit/craftbukkit/legacy/MaterialReroutingTest.java
Commit 3b6093b28007b065350a4b433aa7c3803d87b4a2 by md_5
SPIGOT-7736: Creative spawn egg use loses components
The file was modifiednms-patches/net/minecraft/world/item/ItemStack.patch
Commit ab59e847cafef9128576f20da97c2792457a9b40 by md_5
Fix spawn eggs with no entity creating invalid stacks and disconnect creative clients

Example: /give @s minecraft:cat_spawn_egg[minecraft:max_stack_size=1,minecraft:max_damage=100,minecraft:damage=10] 1
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java