summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemSpawnEgg.h
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-04-04 13:44:17 +0200
committerGitHub <noreply@github.com>2020-04-04 13:44:17 +0200
commit60bcc06f43e0c249204149153976e534b239d138 (patch)
treedc3178edca8b8a0ad77b6002621fd5765398d8e6 /src/Items/ItemSpawnEgg.h
parentManage block entity lifetime with unique_ptr (#4080) (diff)
downloadcuberite-60bcc06f43e0c249204149153976e534b239d138.tar
cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.gz
cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.bz2
cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.lz
cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.xz
cuberite-60bcc06f43e0c249204149153976e534b239d138.tar.zst
cuberite-60bcc06f43e0c249204149153976e534b239d138.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemSpawnEgg.h53
1 files changed, 27 insertions, 26 deletions
diff --git a/src/Items/ItemSpawnEgg.h b/src/Items/ItemSpawnEgg.h
index 52317a6cb..6d4219236 100644
--- a/src/Items/ItemSpawnEgg.h
+++ b/src/Items/ItemSpawnEgg.h
@@ -60,32 +60,33 @@ public:
{
switch (a_ItemDamage)
{
- case E_META_SPAWN_EGG_BAT: return mtBat;
- case E_META_SPAWN_EGG_BLAZE: return mtBlaze;
- case E_META_SPAWN_EGG_CAVE_SPIDER: return mtCaveSpider;
- case E_META_SPAWN_EGG_CHICKEN: return mtChicken;
- case E_META_SPAWN_EGG_COW: return mtCow;
- case E_META_SPAWN_EGG_CREEPER: return mtCreeper;
- case E_META_SPAWN_EGG_ENDERMAN: return mtEnderman;
- case E_META_SPAWN_EGG_GHAST: return mtGhast;
- case E_META_SPAWN_EGG_GUARDIAN: return mtGuardian;
- case E_META_SPAWN_EGG_HORSE: return mtHorse;
- case E_META_SPAWN_EGG_MAGMA_CUBE: return mtMagmaCube;
- case E_META_SPAWN_EGG_MOOSHROOM: return mtMooshroom;
- case E_META_SPAWN_EGG_OCELOT: return mtOcelot;
- case E_META_SPAWN_EGG_PIG: return mtPig;
- case E_META_SPAWN_EGG_RABBIT: return mtRabbit;
- case E_META_SPAWN_EGG_SHEEP: return mtSheep;
- case E_META_SPAWN_EGG_SILVERFISH: return mtSilverfish;
- case E_META_SPAWN_EGG_SKELETON: return mtSkeleton;
- case E_META_SPAWN_EGG_SLIME: return mtSlime;
- case E_META_SPAWN_EGG_SPIDER: return mtSpider;
- case E_META_SPAWN_EGG_SQUID: return mtSquid;
- case E_META_SPAWN_EGG_VILLAGER: return mtVillager;
- case E_META_SPAWN_EGG_WITCH: return mtWitch;
- case E_META_SPAWN_EGG_WOLF: return mtWolf;
- case E_META_SPAWN_EGG_ZOMBIE: return mtZombie;
- case E_META_SPAWN_EGG_ZOMBIE_PIGMAN: return mtZombiePigman;
+ case E_META_SPAWN_EGG_BAT: return mtBat;
+ case E_META_SPAWN_EGG_BLAZE: return mtBlaze;
+ case E_META_SPAWN_EGG_CAVE_SPIDER: return mtCaveSpider;
+ case E_META_SPAWN_EGG_CHICKEN: return mtChicken;
+ case E_META_SPAWN_EGG_COW: return mtCow;
+ case E_META_SPAWN_EGG_CREEPER: return mtCreeper;
+ case E_META_SPAWN_EGG_ENDERMAN: return mtEnderman;
+ case E_META_SPAWN_EGG_GHAST: return mtGhast;
+ case E_META_SPAWN_EGG_GUARDIAN: return mtGuardian;
+ case E_META_SPAWN_EGG_HORSE: return mtHorse;
+ case E_META_SPAWN_EGG_MAGMA_CUBE: return mtMagmaCube;
+ case E_META_SPAWN_EGG_MOOSHROOM: return mtMooshroom;
+ case E_META_SPAWN_EGG_OCELOT: return mtOcelot;
+ case E_META_SPAWN_EGG_PIG: return mtPig;
+ case E_META_SPAWN_EGG_RABBIT: return mtRabbit;
+ case E_META_SPAWN_EGG_SHEEP: return mtSheep;
+ case E_META_SPAWN_EGG_SILVERFISH: return mtSilverfish;
+ case E_META_SPAWN_EGG_SKELETON: return mtSkeleton;
+ case E_META_SPAWN_EGG_SLIME: return mtSlime;
+ case E_META_SPAWN_EGG_SPIDER: return mtSpider;
+ case E_META_SPAWN_EGG_SQUID: return mtSquid;
+ case E_META_SPAWN_EGG_VILLAGER: return mtVillager;
+ case E_META_SPAWN_EGG_WITCH: return mtWitch;
+ case E_META_SPAWN_EGG_WITHER_SKELETON: return mtWitherSkeleton;
+ case E_META_SPAWN_EGG_WOLF: return mtWolf;
+ case E_META_SPAWN_EGG_ZOMBIE: return mtZombie;
+ case E_META_SPAWN_EGG_ZOMBIE_PIGMAN: return mtZombiePigman;
}
return mtInvalidType;
}