Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01:00
Allows eggs support with Slimes, Wolves and Monsters
Dieser Commit ist enthalten in:
Ursprung
8f461f5bbb
Commit
8385b1436e
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren