public boolean a(EntityHuman entityhuman) {
   ItemStack itemstack = entityhuman.inventory.getItemInHand();
   boolean flag = itemstack != null && itemstack.getItem() == Items.MONSTER_EGG;
   if (!flag && isAlive() && !ca() && !isBaby()) {
     if (!world.isStatic) {
       a_(entityhuman);
       entityhuman.openTrade(this, getCustomName());
     }
     return true;
   } else {
     return super.a(entityhuman);
   }
 }