summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-04-05 17:19:24 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-04-05 17:19:24 +0100
commit8385b1436ec0bdf89bae8d4d745f5355a08069ca (patch)
tree181446ae00818a6663d77c487c5831028f69f4a8 /src/main/java/net
parent8f461f5bbb7b75a8ddc2997e0ace4b3dea68b606 (diff)
downloadcraftbukkit-8385b1436ec0bdf89bae8d4d745f5355a08069ca.tar
craftbukkit-8385b1436ec0bdf89bae8d4d745f5355a08069ca.tar.gz
craftbukkit-8385b1436ec0bdf89bae8d4d745f5355a08069ca.tar.lz
craftbukkit-8385b1436ec0bdf89bae8d4d745f5355a08069ca.tar.xz
craftbukkit-8385b1436ec0bdf89bae8d4d745f5355a08069ca.zip
Allows eggs support with Slimes, Wolves and Monsters
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/EntityEgg.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityEgg.java b/src/main/java/net/minecraft/server/EntityEgg.java
index 59a3df3b..220e020d 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;