mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Add missing spawn eggs: Electric Boogaloo (#8616)
This commit is contained in:
parent
3d2c9cd064
commit
8208e3d1c4
1 changed files with 19 additions and 4 deletions
|
@ -14,9 +14,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
case ZOMBIFIED_PIGLIN_SPAWN_EGG:
|
case ZOMBIFIED_PIGLIN_SPAWN_EGG:
|
||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ case ALLAY_SPAWN_EGG:
|
+ case ALLAY_SPAWN_EGG:
|
||||||
|
+ case CAMEL_SPAWN_EGG:
|
||||||
|
+ case ENDER_DRAGON_SPAWN_EGG:
|
||||||
+ case FROG_SPAWN_EGG:
|
+ case FROG_SPAWN_EGG:
|
||||||
|
+ case IRON_GOLEM_SPAWN_EGG:
|
||||||
+ case TADPOLE_SPAWN_EGG:
|
+ case TADPOLE_SPAWN_EGG:
|
||||||
|
+ case SNOW_GOLEM_SPAWN_EGG:
|
||||||
+ case WARDEN_SPAWN_EGG:
|
+ case WARDEN_SPAWN_EGG:
|
||||||
|
+ case WITHER_SPAWN_EGG:
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
return meta instanceof CraftMetaSpawnEgg ? meta : new CraftMetaSpawnEgg(meta);
|
return meta instanceof CraftMetaSpawnEgg ? meta : new CraftMetaSpawnEgg(meta);
|
||||||
case ARMOR_STAND:
|
case ARMOR_STAND:
|
||||||
|
@ -31,9 +36,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
case ZOMBIFIED_PIGLIN_SPAWN_EGG:
|
case ZOMBIFIED_PIGLIN_SPAWN_EGG:
|
||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ case ALLAY_SPAWN_EGG:
|
+ case ALLAY_SPAWN_EGG:
|
||||||
|
+ case CAMEL_SPAWN_EGG:
|
||||||
|
+ case ENDER_DRAGON_SPAWN_EGG:
|
||||||
+ case FROG_SPAWN_EGG:
|
+ case FROG_SPAWN_EGG:
|
||||||
|
+ case IRON_GOLEM_SPAWN_EGG:
|
||||||
+ case TADPOLE_SPAWN_EGG:
|
+ case TADPOLE_SPAWN_EGG:
|
||||||
|
+ case SNOW_GOLEM_SPAWN_EGG:
|
||||||
+ case WARDEN_SPAWN_EGG:
|
+ case WARDEN_SPAWN_EGG:
|
||||||
|
+ case WITHER_SPAWN_EGG:
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
return new CraftMetaSpawnEgg(item.getTag());
|
return new CraftMetaSpawnEgg(item.getTag());
|
||||||
case ARMOR_STAND:
|
case ARMOR_STAND:
|
||||||
|
@ -47,10 +57,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
|
|
||||||
private static final Set<Material> SPAWN_EGG_MATERIALS = Sets.newHashSet(
|
private static final Set<Material> SPAWN_EGG_MATERIALS = Sets.newHashSet(
|
||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ Material. ALLAY_SPAWN_EGG,
|
+ Material.ALLAY_SPAWN_EGG,
|
||||||
+ Material. FROG_SPAWN_EGG,
|
+ Material.CAMEL_SPAWN_EGG,
|
||||||
+ Material. TADPOLE_SPAWN_EGG,
|
+ Material.ENDER_DRAGON_SPAWN_EGG,
|
||||||
+ Material. WARDEN_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
|
+ // Paper end
|
||||||
Material.AXOLOTL_SPAWN_EGG,
|
Material.AXOLOTL_SPAWN_EGG,
|
||||||
Material.BAT_SPAWN_EGG,
|
Material.BAT_SPAWN_EGG,
|
||||||
|
|
Loading…
Reference in a new issue