From 8208e3d1c4940e0cf012f5b0021ef04eaa21cfd4 Mon Sep 17 00:00:00 2001 From: Noah van der Aa Date: Wed, 7 Dec 2022 23:10:51 +0100 Subject: [PATCH] Add missing spawn eggs: Electric Boogaloo (#8616) --- patches/server/Add-missing-spawn-eggs.patch | 23 +++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/patches/server/Add-missing-spawn-eggs.patch b/patches/server/Add-missing-spawn-eggs.patch index 73e9df7233..d6991a0e21 100644 --- a/patches/server/Add-missing-spawn-eggs.patch +++ b/patches/server/Add-missing-spawn-eggs.patch @@ -14,9 +14,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 case ZOMBIFIED_PIGLIN_SPAWN_EGG: + // Paper start + case ALLAY_SPAWN_EGG: ++ case CAMEL_SPAWN_EGG: ++ case ENDER_DRAGON_SPAWN_EGG: + case FROG_SPAWN_EGG: ++ case IRON_GOLEM_SPAWN_EGG: + case TADPOLE_SPAWN_EGG: ++ case SNOW_GOLEM_SPAWN_EGG: + case WARDEN_SPAWN_EGG: ++ case WITHER_SPAWN_EGG: + // Paper end return meta instanceof CraftMetaSpawnEgg ? meta : new CraftMetaSpawnEgg(meta); case ARMOR_STAND: @@ -31,9 +36,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 case ZOMBIFIED_PIGLIN_SPAWN_EGG: + // Paper start + case ALLAY_SPAWN_EGG: ++ case CAMEL_SPAWN_EGG: ++ case ENDER_DRAGON_SPAWN_EGG: + case FROG_SPAWN_EGG: ++ case IRON_GOLEM_SPAWN_EGG: + case TADPOLE_SPAWN_EGG: ++ case SNOW_GOLEM_SPAWN_EGG: + case WARDEN_SPAWN_EGG: ++ case WITHER_SPAWN_EGG: + // Paper end return new CraftMetaSpawnEgg(item.getTag()); case ARMOR_STAND: @@ -47,10 +57,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 private static final Set SPAWN_EGG_MATERIALS = Sets.newHashSet( + // Paper start -+ Material. ALLAY_SPAWN_EGG, -+ Material. FROG_SPAWN_EGG, -+ Material. TADPOLE_SPAWN_EGG, -+ Material. WARDEN_SPAWN_EGG, ++ Material.ALLAY_SPAWN_EGG, ++ Material.CAMEL_SPAWN_EGG, ++ Material.ENDER_DRAGON_SPAWN_EGG, ++ Material.FROG_SPAWN_EGG, ++ Material.IRON_GOLEM_SPAWN_EGG, ++ Material.TADPOLE_SPAWN_EGG, ++ Material.SNOW_GOLEM_SPAWN_EGG, ++ Material.WARDEN_SPAWN_EGG, ++ Material.WITHER_SPAWN_EGG, + // Paper end Material.AXOLOTL_SPAWN_EGG, Material.BAT_SPAWN_EGG,