Add missing spawn eggs: Electric Boogaloo (#8616)

This commit is contained in:
Noah van der Aa 2022-12-07 23:10:51 +01:00
parent 3d2c9cd064
commit 8208e3d1c4

View file

@ -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<Material> 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,