mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 21:17:00 +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:
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue