mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 13:57:35 +01:00
Allows eggs support with Slimes, Wolves and Monsters
This commit is contained in:
parent
8f461f5bbb
commit
8385b1436e
@ -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 New Issue
Block a user