From d8fb977c53c9b59432c6a266ea7c86318f40f7ac Mon Sep 17 00:00:00 2001 From: itsmeow Date: Mon, 11 Nov 2019 03:29:55 -0500 Subject: [PATCH] Fix pheasant eggs not creating variation in texture --- .../common/entity/projectile/EntityPheasantEgg.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/its_meow/betteranimalsplus/common/entity/projectile/EntityPheasantEgg.java b/src/main/java/its_meow/betteranimalsplus/common/entity/projectile/EntityPheasantEgg.java index 5d2962bd..7362dba8 100644 --- a/src/main/java/its_meow/betteranimalsplus/common/entity/projectile/EntityPheasantEgg.java +++ b/src/main/java/its_meow/betteranimalsplus/common/entity/projectile/EntityPheasantEgg.java @@ -52,6 +52,7 @@ protected void onImpact(RayTraceResult result) { EntityPheasant entity = new EntityPheasant(this.world); entity.setGrowingAge(-24000); entity.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, 0.0F); + entity.setType(entity.getRandomType()); this.world.spawnEntity(entity); } }