diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java index 178b7e432c..15b2226671 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java @@ -122,6 +122,7 @@ public final class CraftItemFactory implements ItemFactory { case YELLOW_BANNER: case YELLOW_WALL_BANNER: return meta instanceof CraftMetaBanner ? meta : new CraftMetaBanner(meta); + case AXOLOTL_SPAWN_EGG: case BAT_SPAWN_EGG: case BEE_SPAWN_EGG: case BLAZE_SPAWN_EGG: @@ -140,6 +141,8 @@ public final class CraftItemFactory implements ItemFactory { case EVOKER_SPAWN_EGG: case FOX_SPAWN_EGG: case GHAST_SPAWN_EGG: + case GLOW_SQUID_SPAWN_EGG: + case GOAT_SPAWN_EGG: case GUARDIAN_SPAWN_EGG: case HOGLIN_SPAWN_EGG: case HORSE_SPAWN_EGG: @@ -152,6 +155,7 @@ public final class CraftItemFactory implements ItemFactory { case PANDA_SPAWN_EGG: case PARROT_SPAWN_EGG: case PHANTOM_SPAWN_EGG: + case PIGLIN_BRUTE_SPAWN_EGG: case PIGLIN_SPAWN_EGG: case PIG_SPAWN_EGG: case PILLAGER_SPAWN_EGG: diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java index f31f4041a1..4457f27b87 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java @@ -392,6 +392,7 @@ public final class CraftItemStack extends ItemStack { case YELLOW_BANNER: case YELLOW_WALL_BANNER: return new CraftMetaBanner(item.getTag()); + case AXOLOTL_SPAWN_EGG: case BAT_SPAWN_EGG: case BEE_SPAWN_EGG: case BLAZE_SPAWN_EGG: @@ -410,6 +411,8 @@ public final class CraftItemStack extends ItemStack { case EVOKER_SPAWN_EGG: case FOX_SPAWN_EGG: case GHAST_SPAWN_EGG: + case GLOW_SQUID_SPAWN_EGG: + case GOAT_SPAWN_EGG: case GUARDIAN_SPAWN_EGG: case HOGLIN_SPAWN_EGG: case HORSE_SPAWN_EGG: @@ -422,6 +425,7 @@ public final class CraftItemStack extends ItemStack { case PANDA_SPAWN_EGG: case PARROT_SPAWN_EGG: case PHANTOM_SPAWN_EGG: + case PIGLIN_BRUTE_SPAWN_EGG: case PIGLIN_SPAWN_EGG: case PIG_SPAWN_EGG: case PILLAGER_SPAWN_EGG: diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java index 4171606856..72898ee33c 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSpawnEgg.java @@ -112,6 +112,7 @@ public class CraftMetaSpawnEgg extends CraftMetaItem implements SpawnEggMeta { @Override boolean applicableTo(Material type) { switch (type) { + case AXOLOTL_SPAWN_EGG: case BAT_SPAWN_EGG: case BEE_SPAWN_EGG: case BLAZE_SPAWN_EGG: @@ -130,6 +131,8 @@ public class CraftMetaSpawnEgg extends CraftMetaItem implements SpawnEggMeta { case EVOKER_SPAWN_EGG: case FOX_SPAWN_EGG: case GHAST_SPAWN_EGG: + case GLOW_SQUID_SPAWN_EGG: + case GOAT_SPAWN_EGG: case GUARDIAN_SPAWN_EGG: case HOGLIN_SPAWN_EGG: case HORSE_SPAWN_EGG: @@ -142,6 +145,7 @@ public class CraftMetaSpawnEgg extends CraftMetaItem implements SpawnEggMeta { case PANDA_SPAWN_EGG: case PARROT_SPAWN_EGG: case PHANTOM_SPAWN_EGG: + case PIGLIN_BRUTE_SPAWN_EGG: case PIGLIN_SPAWN_EGG: case PIG_SPAWN_EGG: case PILLAGER_SPAWN_EGG: