mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-12 09:51:12 +01:00
Allows eggs support with Slimes, Wolves and Monsters
This commit is contained in:
parent
8f461f5bbb
commit
8385b1436e
1 changed files with 9 additions and 0 deletions
|
@ -242,6 +242,15 @@ public class EntityEgg extends Entity {
|
||||||
case SQUID:
|
case SQUID:
|
||||||
entity = new EntitySquid(this.world);
|
entity = new EntitySquid(this.world);
|
||||||
break;
|
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:
|
default:
|
||||||
entity = new EntityChicken(this.world);
|
entity = new EntityChicken(this.world);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue