From 8385b1436ec0bdf89bae8d4d745f5355a08069ca Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Tue, 5 Apr 2011 17:19:24 +0100 Subject: [PATCH] Allows eggs support with Slimes, Wolves and Monsters --- src/main/java/net/minecraft/server/EntityEgg.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/net/minecraft/server/EntityEgg.java b/src/main/java/net/minecraft/server/EntityEgg.java index 59a3df3b39..220e020ded 100644 --- a/src/main/java/net/minecraft/server/EntityEgg.java +++ b/src/main/java/net/minecraft/server/EntityEgg.java @@ -242,6 +242,15 @@ public class EntityEgg extends Entity { case SQUID: entity = new EntitySquid(this.world); break; + case SLIME: + entity = new EntitySlime(this.world); + break; + case WOLF: + entity = new EntityWolf(this.world); + break; + case MONSTER: + entity = new EntityMonster(this.world); + break; default: entity = new EntityChicken(this.world); break;